Imported Upstream version 0.18.1.1
[platform/upstream/gettext.git] / gettext-tools / examples / hello-python / Makefile.am
1 # Example for use of GNU gettext.
2 # This file is in the public domain.
3 #
4 # Makefile configuration - processed by automake.
5
6 # General automake options.
7 AUTOMAKE_OPTIONS = foreign
8 ACLOCAL_AMFLAGS = -I m4
9
10 # The list of subdirectories containing Makefiles.
11 SUBDIRS = m4 po
12
13 # The list of programs that are built.
14 bin_SCRIPTS = hello
15
16 # Making a Python program executable.
17 # FIXME: How to make a compiled python program (output of automake's
18 # py-compile command) executable?
19 hello: hello.py
20         (echo '#!@PYTHON@'; cat $<) > $@
21         chmod a+x $@
22 CLEANFILES = hello
23 #CLEANFILES += *.pyc *.pyo
24
25 # Additional files to be distributed.
26 EXTRA_DIST = autogen.sh autoclean.sh