backport 2008-10-28T10:34:48Z!jorda@ettin.org...

...(Check availability of manpages before installing them) by ettin to 1.4.x
This commit is contained in:
Nils Kneuper 2008-10-31 11:21:27 +00:00
parent 5917758296
commit fdff24df4b

View file

@ -48,6 +48,8 @@ dist-hook:
for i in $(MAN_LANG); do \
mkdir -p $(distdir)/$$i ; \
for j in $(MAN_PAGES); do \
$(INSTALL) -c -m 644 $(srcdir)/$$i/$$j $(distdir)/$$i/$$j ; \
if test -f $(srcdir)/$$i/$$j; then \
$(INSTALL) -c -m 644 $(srcdir)/$$i/$$j $(DESTDIR)$(mandir)/$$i/man6/$$j ; \
fi \
done \
done