aboutsummaryrefslogtreecommitdiff
path: root/src/ppm/Makefile.am
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2010-10-25 20:10:42 +0200
committerGuido Günther <agx@sigxcpu.org>2010-11-25 21:04:16 +0100
commitf3bcc5ed66c808ccc15417daf5f3ad25c76ad648 (patch)
treea856718cdb571f656e207819147474c7eac90648 /src/ppm/Makefile.am
Initial commit
Diffstat (limited to 'src/ppm/Makefile.am')
-rw-r--r--src/ppm/Makefile.am23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/ppm/Makefile.am b/src/ppm/Makefile.am
new file mode 100644
index 0000000..7649cbb
--- /dev/null
+++ b/src/ppm/Makefile.am
@@ -0,0 +1,23 @@
+NULL =
+
+pythondir = $(pkgdatadir)/ppm/
+python_DATA_IN = __init__.py.in
+python_DATA = \
+ __init__.py \
+ modemproxy.py \
+ provider.py \
+ providerdb.py \
+ $(NULL)
+
+
+EXTRA_DIST = $(python_DATA) $(python_DATA_IN)
+
+%.py: $(srcdir)/%.py.in
+ sed -e "s,::PACKAGE::,$(PACKAGE)," \
+ -e "s,::PYLIBDIR::,$(pkgdatadir)," \
+ -e "s,::GETTEXTDIR::,$(datadir)/locale," \
+ -e "s,::DATADIR::,$(datadir)," \
+ -e "s,::PKGDATADIR::,$(pkgdatadir)," \
+ < $< > $@
+
+CLEANFILES = *.pyc