summaryrefslogtreecommitdiff
path: root/doc/fr/Makefile.am
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-11-05 18:52:48 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-11-05 18:52:48 +0100
commit60d95151c52ac5d235be6bd87c3e7c454b33eb68 (patch)
treebc2c83cbcda68f4db86f9ab0dcc74882029e3a8f /doc/fr/Makefile.am
parenta17065492fe46089dadb7b22437d913e3b39a443 (diff)
downloadweechat-60d95151c52ac5d235be6bd87c3e7c454b33eb68.zip
Clean old docs output before building
Diffstat (limited to 'doc/fr/Makefile.am')
-rw-r--r--doc/fr/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/fr/Makefile.am b/doc/fr/Makefile.am
index ca66c15d8..bc58564d9 100644
--- a/doc/fr/Makefile.am
+++ b/doc/fr/Makefile.am
@@ -88,6 +88,7 @@ user-html-stamp: $(BOOK_AUTOGEN_INCLUDE) $(BOOK_COMMON_INCLUDE) user/$(BOOK_USER
cp $(BOOK_USER_INCLUDE) build/user-html/
cp ../include_autogen.xml build/user-html/
echo "<pubdate>`date '+%F %T'`</pubdate>" >build/user-html/date.xml
+ rm -rf html/user/
mkdir -p html/user/
cd build/user-html/ ; xsltproc -o ../../html/user/ ../../../weechat-html.xsl $(BOOK_USER).xml || true
cp ../weechat-doc.css html/user/
@@ -106,6 +107,7 @@ user-html1-stamp: $(BOOK_AUTOGEN_INCLUDE) $(BOOK_COMMON_INCLUDE) user/$(BOOK_USE
cp $(BOOK_USER_INCLUDE) build/user-html1/
cp ../include_autogen.xml build/user-html1/
echo "<pubdate>`date '+%F %T'`</pubdate>" >build/user-html1/date.xml
+ rm -rf html1/user/
mkdir -p html1/user/
cd build/user-html1/ ; xsltproc -o ../../html1/user/$(BOOK_USER).html ../../../weechat-html-one.xsl $(BOOK_USER).xml || true
cp ../weechat-doc.css html1/user/
@@ -124,6 +126,7 @@ user-pdf-stamp: $(BOOK_AUTOGEN_INCLUDE) $(BOOK_COMMON_INCLUDE) user/$(BOOK_USER)
cp $(BOOK_USER_INCLUDE) build/user-pdf/
cp ../include_autogen.xml build/user-pdf/
echo "<pubdate>`date '+%F %T'`</pubdate>" >build/user-pdf/date.xml
+ rm -rf pdf/user/
mkdir -p pdf/user/
cd build/user-pdf/ ; dblatex -o ../../pdf/user/$(BOOK_USER).pdf -P draft.mode=no -c ../../../dblatex.conf $(BOOK_USER).xml || true
touch user-pdf-stamp
@@ -141,6 +144,7 @@ devel-html-stamp: $(BOOK_AUTOGEN_INCLUDE) $(BOOK_COMMON_INCLUDE) devel/$(BOOK_DE
cp $(BOOK_DEVEL_INCLUDE) build/devel-html/
cp ../include_autogen.xml build/devel-html/
echo "<pubdate>`date '+%F %T'`</pubdate>" >build/devel-html/date.xml
+ rm -rf html/devel/
mkdir -p html/devel/
cd build/devel-html/ ; xsltproc -o ../../html/devel/ ../../../weechat-html.xsl $(BOOK_DEVEL).xml || true
cp ../weechat-doc.css html/devel/
@@ -159,6 +163,7 @@ devel-html1-stamp: $(BOOK_AUTOGEN_INCLUDE) $(BOOK_COMMON_INCLUDE) devel/$(BOOK_D
cp $(BOOK_DEVEL_INCLUDE) build/devel-html1/
cp ../include_autogen.xml build/devel-html1/
echo "<pubdate>`date '+%F %T'`</pubdate>" >build/devel-html1/date.xml
+ rm -rf html1/devel/
mkdir -p html1/devel/
cd build/devel-html1/ ; xsltproc -o ../../html1/devel/$(BOOK_DEVEL).html ../../../weechat-html-one.xsl $(BOOK_DEVEL).xml || true
cp ../weechat-doc.css html1/devel/
@@ -177,6 +182,7 @@ devel-pdf-stamp: $(BOOK_AUTOGEN_INCLUDE) $(BOOK_COMMON_INCLUDE) devel/$(BOOK_DEV
cp $(BOOK_DEVEL_INCLUDE) build/devel-pdf/
cp ../include_autogen.xml build/devel-pdf/
echo "<pubdate>`date '+%F %T'`</pubdate>" >build/devel-pdf/date.xml
+ rm -rf pdf/devel/
mkdir -p pdf/devel/
cd build/devel-pdf/ ; dblatex -o ../../pdf/devel/$(BOOK_DEVEL).pdf -P draft.mode=no -c ../../../dblatex.conf $(BOOK_DEVEL).xml || true
touch devel-pdf-stamp