summaryrefslogtreecommitdiffstats
path: root/doc/beginners/Makefile.am
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2010-01-07 14:00:49 -0500
committerDave Brolley <brolley@redhat.com>2010-01-07 14:00:49 -0500
commitaf7b183c32c627b1934e9be2d028d7c4ff1a1d2e (patch)
treea1670ad0f02f3ebb47ef2aca648ff7d6afc4e5db /doc/beginners/Makefile.am
parenta0626e2e2ea13b6fc974157fb71fe6d48f4c7ec0 (diff)
parent4bd4d40e19f7ba203d5e380965210181648f560a (diff)
downloadsystemtap-steved-af7b183c32c627b1934e9be2d028d7c4ff1a1d2e.tar.gz
systemtap-steved-af7b183c32c627b1934e9be2d028d7c4ff1a1d2e.tar.xz
systemtap-steved-af7b183c32c627b1934e9be2d028d7c4ff1a1d2e.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'doc/beginners/Makefile.am')
-rw-r--r--doc/beginners/Makefile.am7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/beginners/Makefile.am b/doc/beginners/Makefile.am
index 29ffeaba..e3055967 100644
--- a/doc/beginners/Makefile.am
+++ b/doc/beginners/Makefile.am
@@ -13,12 +13,13 @@ BEGIN_INSTALL_DIR = $(DOC_INSTALL_DIR)/$(SBG)
if BUILD_PUBLICAN
all: $(SBG).pdf $(SBG)/index.html
+# publican isn't make -j safe. So cheat a little, always create pdf and html
+# at the same time, then make html depend on pdf build for copying.
$(SBG).pdf:
- publican build --formats=pdf --langs=en-US && \
+ publican build --formats=pdf,html --langs=en-US && \
mv build/en-US/pdf/*$(SBG)*.pdf $(SBG).pdf
-$(SBG)/index.html:
- publican build --formats=html --langs=en-US && \
+$(SBG)/index.html: $(SBG).pdf
mv build/en-US/html $(SBG)
clean-local: