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

@ -9,7 +9,9 @@ nobase_dist_cant_believe_its_not_man_DATA = \
%.gz: %
{ 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 >$@
rm $<.tmp
clean-local:
rm -f ./*/*.tmp ./*/*.gz ./*/*/*.tmp ./*/*/*.gz
$(RM) -f ./*/*.gz
$(FIND) . -type d -not -name man1 -not -path . -exec rm -rf {} +