summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/de/Makefile.am3
-rw-r--r--doc/en/Makefile.am3
-rw-r--r--doc/fr/Makefile.am3
3 files changed, 9 insertions, 0 deletions
diff --git a/doc/de/Makefile.am b/doc/de/Makefile.am
index c09f80de0..253813091 100644
--- a/doc/de/Makefile.am
+++ b/doc/de/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
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
diff --git a/doc/fr/Makefile.am b/doc/fr/Makefile.am
index e86674e55..f1940dbd6 100644
--- a/doc/fr/Makefile.am
+++ b/doc/fr/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