xref: /netbsd-src/external/gpl2/gettext/dist/gettext-tools/examples/hello-python/Makefile.am (revision 946379e7b37692fc43f68eb0d1c10daa0a7f3b6c)
1*946379e7Schristos# Example for use of GNU gettext.
2*946379e7Schristos# Copyright (C) 2003 Free Software Foundation, Inc.
3*946379e7Schristos# This file is in the public domain.
4*946379e7Schristos#
5*946379e7Schristos# Makefile configuration - processed by automake.
6*946379e7Schristos
7*946379e7Schristos# General automake options.
8*946379e7SchristosAUTOMAKE_OPTIONS = foreign
9*946379e7SchristosACLOCAL_AMFLAGS = -I m4
10*946379e7Schristos
11*946379e7Schristos# The list of subdirectories containing Makefiles.
12*946379e7SchristosSUBDIRS = m4 po
13*946379e7Schristos
14*946379e7Schristos# The list of programs that are built.
15*946379e7Schristosbin_SCRIPTS = hello
16*946379e7Schristos
17*946379e7Schristos# Making a Python program executable.
18*946379e7Schristos# FIXME: How to make a compiled python program (output of automake's
19*946379e7Schristos# py-compile command) executable?
20*946379e7Schristoshello: hello.py
21*946379e7Schristos	(echo '#!@PYTHON@'; cat $<) > $@
22*946379e7Schristos	chmod a+x $@
23*946379e7SchristosCLEANFILES = hello
24*946379e7Schristos#CLEANFILES += *.pyc *.pyo
25*946379e7Schristos
26*946379e7Schristos# Additional files to be distributed.
27*946379e7SchristosEXTRA_DIST = autogen.sh autoclean.sh
28