hgbook

changeset 882:50d09b8f3c4f

Remove /tmp/REV*-hello when clean
author Dongsheng Song <dongsheng.song@gmail.com>
date Wed Oct 21 16:33:28 2009 +0800 (2009-10-21)
parents 3df0c9cfe902
children 805f59de6d6c
files Makefile
line diff
     1.1 --- a/Makefile	Wed Oct 21 16:21:42 2009 +0800
     1.2 +++ b/Makefile	Wed Oct 21 16:33:28 2009 +0800
     1.3 @@ -49,7 +49,7 @@
     1.4  clean:
     1.5  	@rm -fr build hello po/*.mo en/hello en/html en/.validated-00book.xml \
     1.6            en/examples/.run en/examples/results en/figs/*-tmp.svg \
     1.7 -          stylesheets/system-xsl web/index-read.html.in
     1.8 +          stylesheets/system-xsl web/index-read.html.in /tmp/REV*-hello
     1.9  
    1.10  	@(for l in $(DBK_LANGUAGES); do \
    1.11  	  rm -fr $(subst en/figs/, $$l/figs/, $(images-out)) ;\
    1.12 @@ -79,10 +79,10 @@
    1.13  
    1.14  tidypo:
    1.15  ifdef LINGUA
    1.16 -ifneq "$(findstring $(LINGUA),$(PO_LANGUAGES))" ""
    1.17 +  ifneq "$(findstring $(LINGUA),$(PO_LANGUAGES))" ""
    1.18  	msgcat --sort-by-file --width=80 po/$(LINGUA).po > po/$(LINGUA).tmp && \
    1.19  	    mv po/$(LINGUA).tmp po/$(LINGUA).po;
    1.20 -endif
    1.21 +  endif
    1.22  else
    1.23  	for po in $(wildcard po/*.po); do \
    1.24  	    msgcat --sort-by-file --width=80 $$po > $$po.tmp && mv $$po.tmp $$po; \
    1.25 @@ -115,7 +115,7 @@
    1.26  validate: build/$(LINGUA)/source/hgbook.xml
    1.27  	xmllint --nonet --noout --postvalid --xinclude $<
    1.28  
    1.29 -ifneq "$(findstring $(LINGUA),$(DBK_LANGUAGES))" ""
    1.30 +  ifneq "$(findstring $(LINGUA),$(DBK_LANGUAGES))" ""
    1.31  $(LINGUA)/examples/.run:
    1.32  	if test -x $(LINGUA)/examples/run-example; then \
    1.33  	  (cd $(LINGUA)/examples; ./run-example -v -a); \
    1.34 @@ -129,7 +129,7 @@
    1.35  	cp stylesheets/hgbook.css build/$(LINGUA)/source
    1.36  	(cd $(LINGUA); xmllint --nonet --noent --xinclude --postvalid --output ../$@.tmp 00book.xml)
    1.37  	cat $@.tmp | sed 's/\$$rev_id\$$/${rev_id}/' > $@
    1.38 -else
    1.39 +  else
    1.40  en/examples/.run:
    1.41  	(cd en/examples; ./run-example -v -a)
    1.42  
    1.43 @@ -144,7 +144,7 @@
    1.44  	xmllint --nonet --noent --xinclude --postvalid --output $@.tmp en/hgbook.xml.$(LINGUA)
    1.45  	cat $@.tmp | sed 's/\$$rev_id\$$/${rev_id}/' > $@
    1.46  	mv en/hgbook.xml.$(LINGUA) build/$(LINGUA)/source
    1.47 -endif
    1.48 +  endif
    1.49  
    1.50  endif
    1.51