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.
8AUTOMAKE_OPTIONS = foreign
9ACLOCAL_AMFLAGS = -I m4
10
11# The list of subdirectories containing Makefiles.
12SUBDIRS = m4 po
13
14# The list of programs that are built.
15bin_SCRIPTS = hello
16
17# Making a Python program executable.
18# FIXME: How to make a compiled python program (output of automake's
19# py-compile command) executable?
20hello: hello.py
21	(echo '#!@PYTHON@'; cat $<) > $@
22	chmod a+x $@
23CLEANFILES = hello
24#CLEANFILES += *.pyc *.pyo
25
26# Additional files to be distributed.
27EXTRA_DIST = autogen.sh autoclean.sh
28