po4a into autotools

This commit is contained in:
2018-09-29 19:02:11 +02:00
parent d3fcbb8c61
commit 4db2b8d8a7
4 changed files with 19 additions and 3 deletions

View File

@ -10,7 +10,9 @@ nobase_dist_cant_believe_its_not_man_DATA = \
%.gz: %
{ sldr=$$(echo "$(securelibdir)" | $(SED) 's/\//\\\//g') ; bdr=$$(echo "$(bindir)" | $(SED) 's/\//\\\//g') ; $(SED) "s/__PAMPANICSO__/$$sldr\/pam_panic\\\\\&.so/; s/__PAMPANICPW__/$$bdr\/pam_panic_pw/" $< >$<.tmp ; }
gzip -c $<.tmp >$@
rm $<.tmp
clean-local:
rm ./*/*.tmp ./*/*.gz ./*/*/*.tmp ./*/*/*.gz
$(RM) ./*/*.gz
$(FIND) . -type d -not -name man8 -not -path . -exec rm -rf {} +