]> granicus.if.org Git - linux-pam/commitdiff
Relevant BUGIDs:
authorThorsten Kukuk <kukuk@thkukuk.de>
Wed, 28 Jun 2006 20:07:11 +0000 (20:07 +0000)
committerThorsten Kukuk <kukuk@thkukuk.de>
Wed, 28 Jun 2006 20:07:11 +0000 (20:07 +0000)
Purpose of commit: bugfix

Commit summary:
---------------

Fix make release-docs, remove old directories.

13 files changed:
ChangeLog
Makefile.am
doc/Makefile.am
doc/adg/Makefile.am
doc/index.html [new file with mode: 0644]
doc/mwg/Makefile.am
doc/pdf/.cvsignore [deleted file]
doc/pdf/README [deleted file]
doc/ps/.cvsignore [deleted file]
doc/ps/README [deleted file]
doc/sag/Makefile.am
doc/txts/.cvsignore [deleted file]
doc/txts/README [deleted file]

index dfbb23f37d5802578175a3d6fc94f8cec459126f..11c0f0230bd65f5551b089bac67721704e1006d1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
 
        * 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>
 
index 03b1f2d59870bf1f97d2f2f20a5783da65966889..9dbe47bcf2813f8c774bc06e67de68bef635a8e5 100644 (file)
@@ -24,4 +24,11 @@ release: dist releasedocs
 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 
index c1e2586f83cddced98aeb07ebdd7f3a0d8646bb2..2195783afc7e9dc576b94861357557d5fce62cd1 100644 (file)
@@ -6,7 +6,7 @@ SUBDIRS = man specs sag adg mwg
 
 CLEANFILES = *~
 
-EXTRA_DIST = pdf/README html/index.html txts/README
+EXTRA_DIST = index.html
 
 #######################################################
 
@@ -26,11 +26,17 @@ install-data-local:
        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
+       
index 6eabeb5a00fd5506ea07925a17a639fa9d5834e3..419a8c6bdb2de65a223663a0b85c2c34e1ccd9d0 100644 (file)
@@ -6,7 +6,7 @@ CLEANFILES = Linux-PAM_ADG.fo *~
 
 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
@@ -21,7 +21,7 @@ if ENABLE_GENERATE_PDF
          --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
@@ -32,10 +32,10 @@ Linux-PAM_ADG.txt: $(XMLS)
          --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 \
@@ -46,3 +46,21 @@ html/Linux-PAM_ADG.html: $(XMLS)
          --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/
diff --git a/doc/index.html b/doc/index.html
new file mode 100644 (file)
index 0000000..9e607b9
--- /dev/null
@@ -0,0 +1,18 @@
+
+<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>
index 249dfbb7bdacdb865931f351e4a417bdd6b24d65..ee650f64a87321344e2bea530879d3e113bd4359 100644 (file)
@@ -6,7 +6,7 @@ CLEANFILES = Linux-PAM_MWG.fo *~
 
 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
@@ -46,3 +46,21 @@ html/Linux-PAM_MWG.html: $(XMLS)
          --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/
diff --git a/doc/pdf/.cvsignore b/doc/pdf/.cvsignore
deleted file mode 100644 (file)
index 76866b7..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-*.pdf
-Makefile
-Makefile.in
diff --git a/doc/pdf/README b/doc/pdf/README
deleted file mode 100644 (file)
index 82efcd4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-$Id$
-
-a directory for PDF versions of the documentation
diff --git a/doc/ps/.cvsignore b/doc/ps/.cvsignore
deleted file mode 100644 (file)
index 442d5da..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-pam*.ps
-Makefile
-Makefile.in
diff --git a/doc/ps/README b/doc/ps/README
deleted file mode 100644 (file)
index 32a833f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-$Id$
-
-this is the directory for the PostScript documentation
index f8d7c5f98c85089670dc64a41bc6901e19d622e7..2e81709bb0a86030b365a682f8b54aac66eb70f3 100644 (file)
@@ -6,7 +6,7 @@ CLEANFILES = Linux-PAM_SAG.fo *~
 
 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
@@ -21,7 +21,7 @@ if ENABLE_GENERATE_PDF
          --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
@@ -32,10 +32,10 @@ Linux-PAM_SAG.txt: $(XMLS)
          --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 \
@@ -46,3 +46,21 @@ html/Linux-PAM_SAG.html: $(XMLS)
          --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/
diff --git a/doc/txts/.cvsignore b/doc/txts/.cvsignore
deleted file mode 100644 (file)
index 238919c..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-pam*.txt
-Makefile
-Makefile.in
diff --git a/doc/txts/README b/doc/txts/README
deleted file mode 100644 (file)
index 540b09b..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-$Id$
-
-This is a directory for text versions of the pam documentation