summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: 826198b1ffdb41a707c01b262d0f947620f37a29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#
# Copyright (c) 2005, 2006 Thorsten Kukuk <kukuk@suse.de>
#

SUBDIRS = man specs sag adg mwg

CLEANFILES = *~

EXTRA_DIST = index.html

#######################################################

install-data-local:
	$(mkinstalldirs) $(DESTDIR)$(DOCDIR)/html
	install -m 644 $(srcdir)/index.html $(DESTDIR)$(DOCDIR)/html/

releasedocs: all
	mkdir -p $(top_builddir)/Linux-PAM-$(VERSION)-docs/html
	mkdir -p $(top_builddir)/Linux-PAM-$(VERSION)-docs/pdf
	mkdir -p $(top_builddir)/Linux-PAM-$(VERSION)-docs/txt
	mkdir -p $(top_builddir)/Linux-PAM-$(VERSION)-docs/specs
	cp -av $(srcdir)/index.html \
		$(top_builddir)/Linux-PAM-$(VERSION)-docs/html/
	cp -av specs/draft-morgan-pam-current.txt \
		$(top_builddir)/Linux-PAM-$(VERSION)-docs/specs/
	cp -av specs/rfc86.0.txt \
		$(top_builddir)/Linux-PAM-$(VERSION)-docs/specs/
	make -C sag releasedocs
	make -C adg releasedocs
	make -C mwg releasedocs