* doc/Makefile.am: Remove references to sgml, add sag, adg and mwg
directories.
-
* doc/modules: Remove directory.
+ * doc/html: Remove directory.
+ * doc/ps: Remove directory.
+ * doc/pdf: Remove directory.
+ * doc/txts: Remove directory.
+ * doc/index.html: Moved from html directory to here.
2006-06-28 Thorsten Kukuk <kukuk@thkukuk.de>
release-docs: releasedocs
releasedocs:
+ rm -rf Linux-PAM-$(VERSION)-docs
+ mkdir -p Linux-PAM-$(VERSION)-docs
make -C doc releasedocs
+ tar zfc Linux-PAM-$(VERSION)-docs.tar.gz \
+ Linux-PAM-$(VERSION)-docs/*
+ tar jfc Linux-PAM-$(VERSION)-docs.tar.bz2 \
+ Linux-PAM-$(VERSION)-docs/*
+ rm -rf Linux-PAM-$(VERSION)-docs
CLEANFILES = *~
-EXTRA_DIST = pdf/README html/index.html txts/README
+EXTRA_DIST = index.html
#######################################################
done
releasedocs: all
- tar zvfc ../Linux-PAM-$(VERSION)-docs.tar.gz \
- --exclude CVS --exclude .cvsignore --exclude '.#*' \
- --exclude README html txts pdf \
- specs/draft-morgan-pam-current.txt specs/rfc86.0.txt
- tar jvfc ../Linux-PAM-$(VERSION)-docs.tar.bz2 \
- --exclude CVS --exclude .cvsignore --exclude '.#*' \
- --exclude README html ps txts pdf \
- specs/draft-morgan-pam-current.txt specs/rfc86.0.txt
+ 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
+
EXTRA_DIST = $(XMLS)
-XMLS = Linux-PAM_ADG.xml $(shell ls pam_*.xml)
+XMLS = Linux-PAM_ADG.xml $(shell ls $(srcdir)/pam_*.xml)
if ENABLE_REGENERATE_MAN
MAINTAINERCLEANFILES = Linux-PAM_ADG.txt Linux-PAM_ADG.pdf html/*.html
--stringparam section.label.includes.component.label 1 \
--stringparam toc.max.depth 3 --xinclude --nonet \
http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl $< > Linux-PAM_ADG.fo
- $(FO2PDF) Linux-PAM_ADG.fo $(srcdir)/$@
+ $(FO2PDF) Linux-PAM_ADG.fo $@
else
echo "No fo2pdf processor installed, skip PDF generation"
endif
--stringparam section.autolabel 1 \
--stringparam section.label.includes.component.label 1 \
--stringparam toc.max.depth 3 --xinclude --nonet \
- http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $< | $(BROWSER) > $(srcdir)/$@
+ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $< | $(BROWSER) > $@
html/Linux-PAM_ADG.html: $(XMLS)
- @test -d $(srcdir)/html || mkdir -p $(srcdir)/html
+ @test -d html || mkdir -p html
$(XMLLINT) --nonet --xinclude --postvalid --noent --noout $<
$(XSLTPROC) --stringparam base.dir html/ \
--stringparam root.filename Linux-PAM_ADG \
--stringparam toc.max.depth 3 --xinclude --nonet \
http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl $<
endif
+
+releasedocs: all
+ test -f html/Linux-PAM_ADG.html && \
+ cp -ap html/Linux-PAM_ADG.html html/adg-*.html \
+ $(top_builddir)/Linux-PAM-$(VERSION)-docs/html/ || \
+ cp -ap $(srcdir)/html/Linux-PAM_ADG.html \
+ $(srcdir)/html/adg-*.html \
+ $(top_builddir)/Linux-PAM-$(VERSION)-docs/html/
+ test -f Linux-PAM_ADG.txt && \
+ cp -p Linux-PAM_ADG.txt \
+ $(top_builddir)/Linux-PAM-$(VERSION)-docs/txt/ || \
+ cp -p $(srcdir)/Linux-PAM_ADG.txt \
+ $(top_builddir)/Linux-PAM-$(VERSION)-docs/txt/
+ test -f Linux-PAM_ADG.pdf && \
+ cp -p Linux-PAM_ADG.pdf \
+ $(top_builddir)/Linux-PAM-$(VERSION)-docs/pdf/ || \
+ cp -p $(srcdir)/Linux-PAM_ADG.pdf \
+ $(top_builddir)/Linux-PAM-$(VERSION)-docs/pdf/
--- /dev/null
+
+<HTML>
+<HEAD>
+<TITLE>Linux-PAM - Pluggable Authentication Modules for Linux</TITLE>
+</HEAD>
+<BODY>
+
+<p>
+Here is the documentation for Linux-PAM. As you will see it is
+currently not complete. However, in order of decreasing length:
+
+<ul>
+<li> <a href="Linux-PAM_SAG.html">The System Administrators' Guide</a>
+<li> <a href="Linux-PAM_MWG.html">The Module Writers' Guide</a>
+<li> <a href="Linux-PAM_ADG.html">The Application developers' Guide</a>
+</ul>
+
+</BODY>
EXTRA_DIST = $(XMLS)
-XMLS = Linux-PAM_MWG.xml $(shell ls pam_*.xml)
+XMLS = Linux-PAM_MWG.xml $(shell ls $(srcdir)/pam_*.xml)
if ENABLE_REGENERATE_MAN
MAINTAINERCLEANFILES = Linux-PAM_MWG.txt Linux-PAM_MWG.pdf html/*.html
--stringparam toc.max.depth 3 --xinclude --nonet \
http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl $<
endif
+
+releasedocs: all
+ test -f html/Linux-PAM_MWG.html && \
+ cp -ap html/Linux-PAM_MWG.html html/mwg-*.html \
+ $(top_builddir)/Linux-PAM-$(VERSION)-docs/html/ || \
+ cp -ap $(srcdir)/html/Linux-PAM_MWG.html \
+ $(srcdir)/html/mwg-*.html \
+ $(top_builddir)/Linux-PAM-$(VERSION)-docs/html/
+ test -f Linux-PAM_MWG.txt && \
+ cp -p Linux-PAM_MWG.txt \
+ $(top_builddir)/Linux-PAM-$(VERSION)-docs/txt/ || \
+ cp -p $(srcdir)/Linux-PAM_MWG.txt \
+ $(top_builddir)/Linux-PAM-$(VERSION)-docs/txt/
+ test -f Linux-PAM_MWG.pdf && \
+ cp -p Linux-PAM_MWG.pdf \
+ $(top_builddir)/Linux-PAM-$(VERSION)-docs/pdf/ || \
+ cp -p $(srcdir)/Linux-PAM_MWG.pdf \
+ $(top_builddir)/Linux-PAM-$(VERSION)-docs/pdf/
+++ /dev/null
-*.pdf
-Makefile
-Makefile.in
+++ /dev/null
-$Id$
-
-a directory for PDF versions of the documentation
+++ /dev/null
-pam*.ps
-Makefile
-Makefile.in
+++ /dev/null
-$Id$
-
-this is the directory for the PostScript documentation
EXTRA_DIST = $(XMLS)
-XMLS = Linux-PAM_SAG.xml $(shell ls pam_*.xml)
+XMLS = Linux-PAM_SAG.xml $(shell ls $(srcdir)/pam_*.xml)
if ENABLE_REGENERATE_MAN
MAINTAINERCLEANFILES = Linux-PAM_SAG.txt Linux-PAM_SAG.pdf html/*.html
--stringparam section.label.includes.component.label 1 \
--stringparam toc.max.depth 2 --xinclude --nonet \
http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl $< > Linux-PAM_SAG.fo
- $(FO2PDF) Linux-PAM_SAG.fo $(srcdir)/$@
+ $(FO2PDF) Linux-PAM_SAG.fo $@
else
echo "No fo2pdf processor installed, skip PDF generation"
endif
--stringparam section.autolabel 1 \
--stringparam section.label.includes.component.label 1 \
--stringparam toc.max.depth 2 --xinclude --nonet \
- http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $< | $(BROWSER) > $(srcdir)/$@
+ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $< | $(BROWSER) > $@
html/Linux-PAM_SAG.html: $(XMLS)
- @test -d $(srcdir)/html || mkdir -p $(srcdir)/html
+ @test -d html || mkdir -p html
$(XMLLINT) --nonet --xinclude --postvalid --noent --noout $<
$(XSLTPROC) --stringparam base.dir html/ \
--stringparam root.filename Linux-PAM_SAG \
--stringparam toc.max.depth 2 --xinclude --nonet \
http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl $<
endif
+
+releasedocs: all
+ test -f html/Linux-PAM_SAG.html && \
+ cp -ap html/Linux-PAM_SAG.html html/sag-*.html \
+ $(top_builddir)/Linux-PAM-$(VERSION)-docs/html/ || \
+ cp -ap $(srcdir)/html/Linux-PAM_SAG.html \
+ $(srcdir)/html/sag-*.html \
+ $(top_builddir)/Linux-PAM-$(VERSION)-docs/html/
+ test -f Linux-PAM_SAG.txt && \
+ cp -p Linux-PAM_SAG.txt \
+ $(top_builddir)/Linux-PAM-$(VERSION)-docs/txt/ || \
+ cp -p $(srcdir)/Linux-PAM_SAG.txt \
+ $(top_builddir)/Linux-PAM-$(VERSION)-docs/txt/
+ test -f Linux-PAM_SAG.pdf && \
+ cp -p Linux-PAM_SAG.pdf \
+ $(top_builddir)/Linux-PAM-$(VERSION)-docs/pdf/ || \
+ cp -p $(srcdir)/Linux-PAM_SAG.pdf \
+ $(top_builddir)/Linux-PAM-$(VERSION)-docs/pdf/
+++ /dev/null
-pam*.txt
-Makefile
-Makefile.in
+++ /dev/null
-$Id$
-
-This is a directory for text versions of the pam documentation