summaryrefslogtreecommitdiff
path: root/doc/mwg/Makefile.am
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2006-06-28 20:44:58 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2006-06-28 20:44:58 +0000
commit47895a8b8a39d0b9d3fa8e2dc124df8ed94ff9e1 (patch)
treeab9a60848e619b37e25bb6081b49e6e3a2ccd6a9 /doc/mwg/Makefile.am
parent0a4b5f2251382dd87bac17990791e797e82d9748 (diff)
Relevant BUGIDs:
Purpose of commit: bugfix Commit summary: --------------- Fix make install for docu
Diffstat (limited to 'doc/mwg/Makefile.am')
-rw-r--r--doc/mwg/Makefile.am20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/mwg/Makefile.am b/doc/mwg/Makefile.am
index ee650f64..b9f19764 100644
--- a/doc/mwg/Makefile.am
+++ b/doc/mwg/Makefile.am
@@ -47,6 +47,26 @@ html/Linux-PAM_MWG.html: $(XMLS)
http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl $<
endif
+install-data-local:
+ $(mkinstalldirs) $(DESTDIR)$(DOCDIR)
+ $(mkinstalldirs) $(DESTDIR)$(DOCDIR)/txt
+ $(mkinstalldirs) $(DESTDIR)$(DOCDIR)/pdf
+ $(mkinstalldirs) $(DESTDIR)$(DOCDIR)/html
+ test -f html/Linux-PAM_MWG.html && \
+ $(install_sh_DATA) html/Linux-PAM_MWG.html html/mwg-*.html \
+ $(DESTDIR)$(DOCDIR)/html/ || \
+ $(install_sh_DATA) $(srcdir)/html/Linux-PAM_MWG.html \
+ $(srcdir)/html/sag-*.html \
+ $(DESTDIR)$(DOCDIR)/html/
+ test -f Linux-PAM_MWG.txt && \
+ $(install_sh_DATA) Linux-PAM_MWG.txt $(DESTDIR)$(DOCDIR)/txt/ || \
+ $(install_sh_DATA) $(srcdir)/Linux-PAM_MWG.txt \
+ $(DESTDIR)$(DOCDIR)/txt/
+ test -f Linux-PAM_MWG.pdf && \
+ $(install_sh_DATA) Linux-PAM_MWG.pdf $(DESTDIR)$(DOCDIR)/pdf/ || \
+ $(install_sh_DATA) $(srcdir)/Linux-PAM_MWG.pdf \
+ $(DESTDIR)$(DOCDIR)/pdf/
+
releasedocs: all
test -f html/Linux-PAM_MWG.html && \
cp -ap html/Linux-PAM_MWG.html html/mwg-*.html \