:pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Sun Nov 25 22:56 CET 2001
[gnokii.git] / Docs / Makefile
1 #
2 # Makefile for the GNOKII tool suite's documentation directory
3 #
4 # Copyright (C) 1999 Hugh Blemings & Pavel Janík ml.
5 #               2000 Karel Zak
6 #
7
8 TOPDIR=../
9 include ${TOPDIR}/Makefile.global
10
11 #
12 # Documentation for gnokii (xgnokii install documentation files itself).
13 #
14
15 INSTALL_DOCS =  README \
16                 README-3810 \
17                 README-6110 \
18                 CREDITS \
19                 DataCalls-QuickStart \
20                 README-WIN32 \
21                 gettext-howto \
22                 gnokii.nol \
23                 gnokii-ir-howto \
24                 packaging-howto \
25                 sample.gnokiirc
26
27 GNOKII1_MAN = "man/gnokii.1 man/todologo.1"
28 GNOKII8_MAN = "man/gnokiid.8 man/mgnokiidev.8"
29 XGNOKII_MAN = man/xgnokii.1x
30
31 all:
32         @echo
33
34 install:
35         $(INSTALL) -d $(docdir)
36         @for xxx in $(INSTALL_DOCS); do \
37             if [ -e $$xxx ]; then \
38                 $(INSTALL) -m 0444 $$xxx $(docdir)/$$xxx; \
39             fi; \
40         done
41         $(INSTALL) $(GNOKII1_MAN) $(man1dir)
42         $(INSTALL) $(GNOKII8_MAN) $(man8dir)
43         if [ "x$HAVE_XGNOKII" = xyes ]; then \
44                 $(INSTALL) $(XGNOKII_MAN) $(xmandir) \
45         fi
46         @echo "done"
47
48 clean:
49         $(RM) *~
50
51 depend dep:
52         @echo
53
54 .PHONY: all install clean dep depend