summaryrefslogtreecommitdiff
path: root/doc/sag/Makefile.am
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2006-07-24 15:47:40 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2006-07-24 15:47:40 +0000
commit65b0aeaecd75e081993c48db2837958073185165 (patch)
treee65fd19ffeaa53bb0212a5cf49bd5671e15cc954 /doc/sag/Makefile.am
parentc938ec2c5c0a796c4a69b8946884a49e266bdea2 (diff)
Relevant BUGIDs:
Purpose of commit: bugfixes Commit summary: --------------- 2006-07-24 Thorsten Kukuk <kukuk@thkukuk.de> * doc/adg/Makefile.am: Add uninstall and distclean rules. * doc/mwg/Makefile.am: Likewise. * doc/sag/Makefile.am: Likewise. 2006-07-08 Daniel Richard G. <skunk@iskunk.org> * conf/pam_conv1/Makefile.am: Fix rules for lex and yacc files. * conf/pam_conv1/pam_conv.lex: Rename to ... * conf/pam_conv1/pam_conv_l.l: ... this. * conf/pam_conv1/pam_conv.y: Rename to ... * conf/pam_conv1/pam_conv_y.y: ... this. * configure.in: Add AC_HELP_STRING()s to various AC_ARG_ENABLE() calls. * doc/Makefile.am: Fix rule to install index.html. * doc/adg/Makefile.am: Fix test usage. * doc/mwg/Makefile.am: Likewise. * doc/sag/Makefile.am: Likewise. * doc/specs/Makefile.am: Fix rules for lex and yacc files. * specs/parse.lex: Rename to ... * doc/specs/parse_l.l: ... this. * doc/specs/parse.y: Rename to ... * doc/specs/parse_y.y: ... this. * libpam/pam_account.c: Fix #if vs. #ifdef. * libpam/pam_audit.c: Likewise. * libpam/pam_auth.c: Likewise. * libpam/pam_password.c: Likewise. * libpam/pam_private.h: Likewise. * libpam/pam_session.c: Likewise. * libpam/pam_start.c: Likewise. * libpam/pam_static.c: Fix "empty sourcefile" warning. * modules/pam_limits/pam_limits.c: Check for __linux, too. * modules/pam_userdb/Makefile.am: Don't run test if no libdb available. * tests/tst-dlopen.c: Include config.h.
Diffstat (limited to 'doc/sag/Makefile.am')
-rw-r--r--doc/sag/Makefile.am21
1 files changed, 15 insertions, 6 deletions
diff --git a/doc/sag/Makefile.am b/doc/sag/Makefile.am
index 1efc6d4e..fe1e7835 100644
--- a/doc/sag/Makefile.am
+++ b/doc/sag/Makefile.am
@@ -45,6 +45,9 @@ html/Linux-PAM_SAG.html: $(XMLS)
--stringparam section.label.includes.component.label 1 \
--stringparam toc.max.depth 2 --xinclude --nonet \
http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl $<
+
+distclean-local:
+ -rm -rf html Linux-PAM_SAG.txt Linux-PAM_SAG.pdf
endif
install-data-local:
@@ -52,35 +55,41 @@ install-data-local:
$(mkinstalldirs) $(DESTDIR)$(DOCDIR)/txt
$(mkinstalldirs) $(DESTDIR)$(DOCDIR)/pdf
$(mkinstalldirs) $(DESTDIR)$(DOCDIR)/html
- test -f html/Linux-PAM_SAG.html && \
+ test -f html/Linux-PAM_SAG.html || exit 0; \
$(install_sh_DATA) html/Linux-PAM_SAG.html html/sag-*.html \
$(DESTDIR)$(DOCDIR)/html/ || \
$(install_sh_DATA) $(srcdir)/html/Linux-PAM_SAG.html \
$(srcdir)/html/sag-*.html \
$(DESTDIR)$(DOCDIR)/html/
- test -f Linux-PAM_SAG.txt && \
+ test -f Linux-PAM_SAG.txt || exit 0; \
$(install_sh_DATA) Linux-PAM_SAG.txt $(DESTDIR)$(DOCDIR)/txt/ || \
$(install_sh_DATA) $(srcdir)/Linux-PAM_SAG.txt \
$(DESTDIR)$(DOCDIR)/txt/
- test -f Linux-PAM_SAG.pdf && \
+ test -f Linux-PAM_SAG.pdf || exit 0; \
$(install_sh_DATA) Linux-PAM_SAG.pdf $(DESTDIR)$(DOCDIR)/pdf/ || \
$(install_sh_DATA) $(srcdir)/Linux-PAM_SAG.pdf \
$(DESTDIR)$(DOCDIR)/pdf/
+uninstall-local:
+ -rm $(DESTDIR)$(DOCDIR)/html/Linux-PAM_SAG.html
+ -rm $(DESTDIR)$(DOCDIR)/html/sag-*.html
+ -rm $(DESTDIR)$(DOCDIR)/txt/Linux-PAM_SAG.txt
+ -rm $(DESTDIR)$(DOCDIR)/pdf/Linux-PAM_SAG.pdf
+
releasedocs: all
$(mkinstalldirs) $(top_builddir)/Linux-PAM-$(VERSION)/doc/sag/html
- test -f html/Linux-PAM_SAG.html && \
+ test -f html/Linux-PAM_SAG.html || exit 0; \
cp -ap html/Linux-PAM_SAG.html html/sag-*.html \
$(top_builddir)/Linux-PAM-$(VERSION)/doc/sag/html/ || \
cp -ap $(srcdir)/html/Linux-PAM_SAG.html \
$(srcdir)/html/sag-*.html \
$(top_builddir)/Linux-PAM-$(VERSION)/doc/sag/html/
- test -f Linux-PAM_SAG.txt && \
+ test -f Linux-PAM_SAG.txt || exit 0; \
cp -p Linux-PAM_SAG.txt \
$(top_builddir)/Linux-PAM-$(VERSION)/doc/sag/ || \
cp -p $(srcdir)/Linux-PAM_SAG.txt \
$(top_builddir)/Linux-PAM-$(VERSION)/doc/sag/
- test -f Linux-PAM_SAG.pdf && \
+ test -f Linux-PAM_SAG.pdf || exit 0; \
cp -p Linux-PAM_SAG.pdf \
$(top_builddir)/Linux-PAM-$(VERSION)/doc/sag/ || \
cp -p $(srcdir)/Linux-PAM_SAG.pdf \