summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2008-12-13 17:26:58 (GMT)
committer Jaromil <jaromil@dyne.org>2008-12-13 17:26:58 (GMT)
commit9290304bcf1cc91bd80d05ea2529d806e64e2e8c (patch)
tree4b5cff3f540ed579f16ded485d458484bcc3bfdb
parentf24194b299422ac4bf2e74660e23ce20c1156adc (diff)
some more fix
-rw-r--r--dynebolic/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/dynebolic/Makefile b/dynebolic/Makefile
index 0c33286..16a04f4 100644
--- a/dynebolic/Makefile
+++ b/dynebolic/Makefile
@@ -28,7 +28,9 @@ man-language ?= EN
all : lang index pdf html
-lang: dynebolic-manual-$(man-language).sgml
+lang: $(man-language)/dynebolic-manual-$(man-language).sgml
+
+$(man-language)/dynebolic-manual-$(man-language).sgml:
ln -sf ../dynebolic-manual.sgml $(man-language)/dynebolic-manual-$(man-language).sgml
# jade omissis options: -V nochunks
@@ -47,6 +49,7 @@ html : $(DEPS)
images/convert_for_html.sh $(man-language) html
cd $(man-language) && docbook2html -u -d $(DSSSL-html) \
-o html dynebolic-manual-$(man-language).sgml
+ cp -f dyne.css $(man-language)/html
pdf : $(DEPS)
rm -f $(man-language)/dynebolic-manual-$(man-language).pdf
@@ -113,4 +116,7 @@ clean :
dynebolic-manual.log \
dynebolic-manual.out \
dynebolic-manual.dvi
-
+ rm -rf $(man-language)/images
+ rm -rf $(man-language)/html
+ rm -rf $(man-language)/dynebolic-manual-$(man-language).*
+