]> granicus.if.org Git - linux-pam/blob - doc/Makefile.am
Relevant BUGIDs:
[linux-pam] / doc / Makefile.am
1 #
2 # Copyright (c) 2005, 2006 Thorsten Kukuk <kukuk@suse.de>
3 #
4
5 SUBDIRS = man specs sag adg mwg
6
7 CLEANFILES = *~
8
9 EXTRA_DIST = pdf/README html/index.html txts/README
10
11 #######################################################
12
13 install-data-local:
14         $(mkinstalldirs) $(DESTDIR)$(DOCDIR)
15         $(mkinstalldirs) $(DESTDIR)$(DOCDIR)/text
16         for file in txts/*.txt; do \
17           $(INSTALL_DATA) $$file $(DESTDIR)$(DOCDIR)/text; \
18         done
19         $(mkinstalldirs) $(DESTDIR)$(DOCDIR)/pdf
20         for file in pdf/*.pdf; do \
21           $(INSTALL_DATA) $$file $(DESTDIR)$(DOCDIR)/pdf; \
22         done
23         $(mkinstalldirs) $(DESTDIR)$(DOCDIR)/html
24         for file in html/*.html; do \
25           $(INSTALL_DATA) $$file $(DESTDIR)$(DOCDIR)/html; \
26         done
27
28 releasedocs: all
29         tar zvfc ../Linux-PAM-$(VERSION)-docs.tar.gz \
30         --exclude CVS --exclude .cvsignore --exclude '.#*' \
31         --exclude README html txts pdf \
32         specs/draft-morgan-pam-current.txt specs/rfc86.0.txt
33         tar jvfc ../Linux-PAM-$(VERSION)-docs.tar.bz2 \
34         --exclude CVS --exclude .cvsignore --exclude '.#*' \
35         --exclude README html ps txts pdf \
36         specs/draft-morgan-pam-current.txt specs/rfc86.0.txt