pam_panic/src/pam_panic_pw/man/Makefile.am
2018-09-29 19:02:11 +02:00

18 lines
564 B
Makefile

cant_believe_its_not_mandir = $(mandir)
nobase_dist_cant_believe_its_not_man_DATA = \
man1/pam_panic_pw.1.gz \
de/man1/pam_panic_pw.1.gz \
fr/man1/pam_panic_pw.1.gz \
ja/man1/pam_panic_pw.1.gz \
es/man1/pam_panic_pw.1.gz
%.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 ./*/*.gz
$(FIND) . -type d -not -name man1 -not -path . -exec rm -rf {} +