Prevent to run script which weren't "built"

This commit is contained in:
2018-11-03 16:16:38 +01:00
parent bf5c12131f
commit 3076028f4c
2 changed files with 5 additions and 2 deletions

View File

@ -2,7 +2,7 @@ SUBDIRS = applications icons/48x48 icons/64x64 icons/scalable
bin_SCRIPTS = pam_panic_config
%: %.prebuild
{ sldr=$$(echo "$(SECUREDIR)" | $(SED) 's/\//\\\//g'); $(SED) "s/__SECURELIBDIR__/$$sldr/" $< > $@ ; }
{ sldr=$$(echo "$(SECUREDIR)" | $(SED) 's/\//\\\//g'); bdr=$$(echo "$(bindir)" | $(SED) 's/\//\\\//g'); $(SED) "s/__SECURELIBDIR__/$$sldr/;s/__PAMPANICPW__/$$bdr\/pam_panic_pw/" $< > $@ ; }
clean-local:
$(RM) *.tmp