diff --git a/src/bin/bind10/Makefile.am b/src/bin/bind10/Makefile.am index bfc569359e..1d2285c57a 100644 --- a/src/bin/bind10/Makefile.am +++ b/src/bin/bind10/Makefile.am @@ -1 +1,8 @@ -bin_SCRIPTS = bind10 bind10.py +bin_SCRIPTS = bind10 +CLEANFILES = bind10.py + +# TODO: does this need $$(DESTDIR) also? +# this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix +bind10: bind10.py + $(SED) "s|@@PYTHONPATH@@|@pyexecdir@|" bind10.py >$@ +# chmod a+x $@