Commit 2db831df authored by Jonathan Jenkins's avatar Jonathan Jenkins
Browse files

out-of-tree build fix for codes scripts

parent 02b81d88
......@@ -9,7 +9,12 @@ CLEANFILES += $(my_bin_scripts)
# manual rules for now
do_subst = sed -e 's![@]libdir[@]!$(libdir)!g'
%: Makefile
.PHONY: scriptdir
# need to ensure that the scripts directory exists before running the sub cmd
test -d scripts || mkdir scripts
%: Makefile scriptdir
$(do_subst) < $< > $@
chmod +x $@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment