summaryrefslogtreecommitdiff
path: root/doc/en
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-10-10 15:01:20 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-10-10 15:01:20 +0200
commitbfc9751fb7f09535bb85873697cd00b2a09d0129 (patch)
tree2cbbf3fe0d301c4a144a6c81391ab7ce304edf87 /doc/en
parent11b6aaebb9f495fd4dd6e323b777ab948cea8d9a (diff)
downloadweechat-bfc9751fb7f09535bb85873697cd00b2a09d0129.zip
Clean doc/xx/ directory after build with autotools
Diffstat (limited to 'doc/en')
-rw-r--r--doc/en/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/en/Makefile.am b/doc/en/Makefile.am
index 9d03ad1a3..6e9e88d92 100644
--- a/doc/en/Makefile.am
+++ b/doc/en/Makefile.am
@@ -54,6 +54,7 @@ html-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../weechat-html.xsl ../weechat-doc.css .
cp ../include_autogen.xml .
mkdir -p html/
xsltproc -o html/ ../weechat-html.xsl $(BOOK).xml || true
+ rm -f include_autogen.xml
cp ../weechat-doc.css html/
touch html-stamp
@@ -66,6 +67,7 @@ html1-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../weechat-html-one.xsl ../weechat-doc.
cp ../include_autogen.xml .
mkdir -p html1/
xsltproc -o html1/$(BOOK).html ../weechat-html-one.xsl $(BOOK).xml || true
+ rm -f include_autogen.xml
cp ../weechat-doc.css html1/
touch html1-stamp
@@ -77,6 +79,7 @@ pdf-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../include_autogen.xml
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
cp ../include_autogen.xml .
dblatex -P draft.mode=no -c ../dblatex.conf $(BOOK).xml || true
+ rm -f include_autogen.xml
touch pdf-stamp
# install docs