pkglibexecdir = $(libexecdir)/@PACKAGE@ pkglibexec_SCRIPTS = b10-cmdctl CLEANFILES= b10-cmdctl.py # TODO: does this need $$(DESTDIR) also? # this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix b10-cmdctl: b10-cmdctl.py $(SED) "s|@@PYTHONPATH@@|@pyexecdir@|" b10-cmdctl.py >$@ # chmod a+x $@