|
@@ -6,9 +6,14 @@ EXTRA_DIST = $(man_MANS)
|
|
|
python_PYTHON = __init__.py bindcmd.py cmdparse.py exception.py moduleinfo.py mycollections.py
|
|
|
pythondir = $(pyexecdir)/bindctl
|
|
|
|
|
|
+bindctldir = $(DESTDIR)$(pkgdatadir)
|
|
|
+bindctl_DATA = bindctl.pem
|
|
|
+EXTRA_DIST += bindctl.pem
|
|
|
+
|
|
|
CLEANFILES = bindctl
|
|
|
|
|
|
bindctl: bindctl-source.py
|
|
|
$(SED) -e "s|@@PYTHONPATH@@|@pyexecdir@|" \
|
|
|
+ -e "s|@@SYSCONFDIR@@|@sysconfdir@|" \
|
|
|
-e "s|@@LIBEXECDIR@@|$(pkglibexecdir)|" bindctl-source.py >$@
|
|
|
chmod a+x $@
|