summaryrefslogtreecommitdiff
path: root/Mozo/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Mozo/Makefile.am')
-rw-r--r--Mozo/Makefile.am24
1 files changed, 24 insertions, 0 deletions
diff --git a/Mozo/Makefile.am b/Mozo/Makefile.am
new file mode 100644
index 0000000..31217e1
--- /dev/null
+++ b/Mozo/Makefile.am
@@ -0,0 +1,24 @@
+## Process this file with automake to produce Makefile.in
+
+appdir = $(pythondir)/Mozo
+app_PYTHON = __init__.py MainWindow.py MenuEditor.py util.py
+nodist_app_PYTHON = config.py
+
+config.py: config.py.in
+ sed \
+ -e s!\@prefix\@!$(prefix)! \
+ -e s!\@datadir\@!$(datadir)! \
+ -e s!\@pkgdatadir\@!$(pkgdatadir)! \
+ -e s!\@libexecdir\@!$(libexecdir)! \
+ -e s!\@libdir\@!$(libdir)! \
+ -e s!\@PACKAGE\@!$(PACKAGE)! \
+ -e s!\@VERSION\@!$(VERSION)! \
+ -e s!\@GETTEXT_PACKAGE\@!$(GETTEXT_PACKAGE)! \
+ < $< > $@
+config.py: Makefile
+
+CLEANFILES = config.py
+EXTRA_DIST = config.py.in
+
+all-local: config.py
+