Merge pull request #11 from atsampson/mandirinst
Use the .po files to work out which manpage dirs to create
This commit is contained in:
commit
3d2e5687c0
@ -214,7 +214,7 @@ install: all
|
|||||||
fi
|
fi
|
||||||
$(INSTALL_DIR) $(ROOT)/usr/include/
|
$(INSTALL_DIR) $(ROOT)/usr/include/
|
||||||
$(INSTALL_DATA) initreq.h $(ROOT)/usr/include/
|
$(INSTALL_DATA) initreq.h $(ROOT)/usr/include/
|
||||||
for lang in '' $(subst ../man/,,$(wildcard ../man/po/??/)); do \
|
for lang in '' $(patsubst ../man/po/%.po,%,$(wildcard ../man/po/??.po)); do \
|
||||||
$(INSTALL_DIR) $(ROOT)$(MANDIR)/man1/$$lang; \
|
$(INSTALL_DIR) $(ROOT)$(MANDIR)/man1/$$lang; \
|
||||||
$(INSTALL_DIR) $(ROOT)$(MANDIR)/man5/$$lang; \
|
$(INSTALL_DIR) $(ROOT)$(MANDIR)/man5/$$lang; \
|
||||||
$(INSTALL_DIR) $(ROOT)$(MANDIR)/man8/$$lang; \
|
$(INSTALL_DIR) $(ROOT)$(MANDIR)/man8/$$lang; \
|
||||||
|
Loading…
Reference in New Issue
Block a user