aboutsummaryrefslogtreecommitdiff
path: root/doc/overview/Makefile.am
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-20 00:55:18 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-20 00:55:18 +0000
commitb49e85a4cd30d9a0c4f3452f118c21a77a2dafc9 (patch)
tree9ba1ad419204a55682a083f3d9aa6a79fccff318 /doc/overview/Makefile.am
parent7dccbca02e506ed15c768d05128412537c94b94a (diff)
downloadpaludis-b49e85a4cd30d9a0c4f3452f118c21a77a2dafc9.tar.gz
paludis-b49e85a4cd30d9a0c4f3452f118c21a77a2dafc9.tar.xz
More docs work
Diffstat (limited to 'doc/overview/Makefile.am')
-rw-r--r--doc/overview/Makefile.am56
1 files changed, 55 insertions, 1 deletions
diff --git a/doc/overview/Makefile.am b/doc/overview/Makefile.am
index e412f64a5..cd5e554e8 100644
--- a/doc/overview/Makefile.am
+++ b/doc/overview/Makefile.am
@@ -1,8 +1,54 @@
SUBDIRS = .
-CLEANFILES = *~ gmon.out *.gcov *.gcno *.gcda
+CLEANFILES = *~ gmon.out *.gcov *.gcno *.gcda \
+ header.html.part \
+ toplinks.html.part \
+ footer.html.part
+
+EXTRA_DIST = \
+ toplinks.html.part.in \
+ index.html.part \
+ features.html.part \
+ gettingstarted.html.part \
+ contact.html.part
+
MAINTAINERCLEANFILES = Makefile.in
+paludisoverviewhtmldir = $(htmldir)/paludis/overview
+
+paludisoverviewhtml_DATA = \
+ index.html \
+ features.html \
+ gettingstarted.html \
+ contact.html
+
+index.html : header.html.part index.html.part footer.html.part
+ cat header.html.part index.html.part footer.html.part > $@
+
+gettingstarted.html : header.html.part gettingstarted.html.part footer.html.part
+ cat header.html.part gettingstarted.html.part footer.html.part > $@
+
+features.html : header.html.part features.html.part footer.html.part
+ cat header.html.part features.html.part footer.html.part > $@
+
+contact.html : header.html.part contact.html.part footer.html.part
+ cat header.html.part contact.html.part footer.html.part > $@
+
+header.html.part : $(srcdir)/../header.html.part.in toplinks.html.part
+ sed \
+ -e 's,###TOPURI###,../,g' \
+ -e '/###TOPLINKS###/r $(srcdir)/toplinks.html.part' \
+ -e 's,###TOPLINKS###,,g' \
+ < $(srcdir)/../header.html.part.in > header.html.part
+
+toplinks.html.part : $(srcdir)/toplinks.html.part.in
+ sed \
+ -e 's,###TOPURI###,../,g' \
+ < $(srcdir)/toplinks.html.part.in > toplinks.html.part
+
+footer.html.part : $(srcdir)/../footer.html.part.in
+ sed -e 's,###TOPURI###,./,g' < $(srcdir)/../footer.html.part.in > footer.html.part
+
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
@@ -11,3 +57,11 @@ distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs
distcheck-deps-subdirs :
for s in `echo $(DIST_SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s distcheck-deps || exit 1 ; done
+htmldocs : htmldocs-subdirs
+
+htmldocs-subdirs :
+ for s in $(SUBDIRS) . ; do if test x$$s = x. ; then $(MAKE) htmldocs-local || exit 1 ; \
+ else $(MAKE) -C $$s htmldocs || exit 1 ; fi ; done
+
+htmldocs-local : $(paludisoverviewhtml_DATA)
+