This commit is contained in:
2018-04-03 15:52:18 +02:00
parent 4b69fba344
commit a65f28725d
9 changed files with 47 additions and 26 deletions

View File

@ -4,4 +4,9 @@ nobase_dist_cant_believe_its_not_man_DATA = \
de/man1/pam_panic_pw.1.gz
%.gz: %
gzip -c $< >$@
{ ppf=$$(echo "$(PPASSFILE)" | $(SED) 's/\//\\\//g') ; bdr=$$(echo "$(bindir)" | $(SED) 's/\//\\\//g') ; $(SED) "s/__PPASSFILE__/$$ppf/; s/__PAMPANICPW__/$$bdr\/pam_panic\\\\\&.so/" $< >$<.tmp ; }
gzip -c $<.tmp >$@
clean-local:
rm ./*/*.tmp ./*/*.gz ./*/*/*.tmp ./*/*/*.g