aboutsummaryrefslogtreecommitdiff
path: root/src/ppm/Makefile.am
blob: 7649cbbd0aaf9ba3e484cc1ce1c63c4031b457ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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