2 # Makefile for the GNOKII tool suite's documentation directory
4 # Copyright (C) 1999 Hugh Blemings & Pavel JanÃk ml.
9 include ${TOPDIR}/Makefile.global
12 # Documentation for gnokii (xgnokii install documentation files itself).
15 INSTALL_DOCS = README \
19 DataCalls-QuickStart \
27 GNOKII1_MAN = "man/gnokii.1 man/todologo.1"
28 GNOKII8_MAN = "man/gnokiid.8 man/mgnokiidev.8"
29 XGNOKII_MAN = man/xgnokii.1x
35 $(INSTALL) -d $(docdir)
36 @for xxx in $(INSTALL_DOCS); do \
37 if [ -e $$xxx ]; then \
38 $(INSTALL) -m 0444 $$xxx $(docdir)/$$xxx; \
41 $(INSTALL) $(GNOKII1_MAN) $(man1dir)
42 $(INSTALL) $(GNOKII8_MAN) $(man8dir)
43 if [ "x$HAVE_XGNOKII" = xyes ]; then \
44 $(INSTALL) $(XGNOKII_MAN) $(xmandir) \
54 .PHONY: all install clean dep depend