Home | History | Annotate | Line # | Download | only in hello-librep
      1 # Example for use of GNU gettext.
      2 # Copyright (C) 2003 Free Software Foundation, Inc.
      3 # This file is in the public domain.
      4 #
      5 # Makefile configuration - processed by automake.
      6 
      7 # General automake options.
      8 AUTOMAKE_OPTIONS = foreign
      9 ACLOCAL_AMFLAGS = -I m4
     10 
     11 # The list of subdirectories containing Makefiles.
     12 SUBDIRS = m4 po
     13 
     14 # The list of programs that are built.
     15 bin_SCRIPTS = hello
     16 
     17 # Compilation of librep programs.
     18 SUFFIXES = .jl .jlc
     19 .jl.jlc:
     20 	rep --batch --no-rc -l compiler -f compile-batch $<
     21 CLEANFILES = *.jlc
     22 
     23 # Making a librep program executable.
     24 hello: hello.jlc
     25 	(echo '#!@REP@'; echo '!#'; cat $<) > $@
     26 	chmod a+x $@
     27 CLEANFILES += hello
     28 
     29 # Additional files to be distributed.
     30 EXTRA_DIST = autogen.sh autoclean.sh
     31