summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Shramov <psha@oromo.psha.org.ru>2011-02-19 10:55:02 +0300
committerPavel Shramov <psha@lebu.psha.org.ru>2011-03-02 21:17:42 +0300
commitef3cbcef4c04dc10e9a389acf37f2cd43200fb82 (patch)
treee9ff8c034431f0a2c9d0a2d5bacd9fabab0e1a3b
parent404719f71a704b3f5a01e1cab58a796eba45b86b (diff)
downloadlinuxcnc-ef3cbcef4c04dc10e9a389acf37f2cd43200fb82.tar.gz
linuxcnc-ef3cbcef4c04dc10e9a389acf37f2cd43200fb82.zip
docs: Fix return values in make rules
-rw-r--r--docs/src/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/src/Makefile b/docs/src/Makefile
index 778139da8..fd73ad525 100644
--- a/docs/src/Makefile
+++ b/docs/src/Makefile
@@ -39,25 +39,25 @@ links_db.py: $(patsubst %,%.db,$(SMALL))
./links_db_gen.py $^ > $@
%.db: %.txt
- asciidoc -d book -o- -b docbook $< | xsltproc links.xslt - > $@ || (X=$?; rm $@; exit $X)
+ asciidoc -d book -o- -b docbook $< | xsltproc links.xslt - > $@ || (X=$$?; rm $@; exit $$X)
%.dep: %.txt
./asciideps $< > $@.tmp
mv $@.tmp $@
%.html: %.txt
- asciidoc -a stylesheet=$(shell pwd)/linuxcnc.css -f xhtml11.conf -d book -a toc -a numbered -b xhtml11 $< || (X=$?; rm $@; exit $X)
+ asciidoc -a stylesheet=$(shell pwd)/linuxcnc.css -f xhtml11.conf -d book -a toc -a numbered -b xhtml11 $< || (X=$$?; rm $@; exit $$X)
#$(patsubst %,%.html,$(DOCS_FR)) :: %.html: %.txt
-# asciidoc -a stylesheet=$(shell pwd)/linuxcnc.css -f xhtml11.conf -d book -a toc -a numbered -b xhtml11 $< || (X=$?; rm $@; exit $X)
+# asciidoc -a stylesheet=$(shell pwd)/linuxcnc.css -f xhtml11.conf -d book -a toc -a numbered -b xhtml11 $< || (X=$$?; rm $@; exit $$X)
%.pdf: %.txt
- $(A2X) -L -d book -vf pdf $< || (X=$?; rm $@; exit $X)
+ $(A2X) -L -d book -vf pdf $< || (X=$$?; rm $@; exit $$X)
$(patsubst %,%.html,$(LARGE)) :: %.html: %.txt
- $(A2X) --stylesheet=./linuxcnc.css -L -d book -vf xhtml $< || (X=$?; rm $@; exit $X)
+ $(A2X) --stylesheet=./linuxcnc.css -L -d book -vf xhtml $< || (X=$$?; rm $@; exit $$X)
#$(patsubst %,%.html,$(LARGE_FR)) :: %.html: %.txt
-# $(A2X) --stylesheet=../linuxcnc.css -L -d book -vf xhtml $< || (X=$?; rm $@; exit $X)
+# $(A2X) --stylesheet=../linuxcnc.css -L -d book -vf xhtml $< || (X=$$?; rm $@; exit $$X)
.PHONY: all docs htmldocs pdfdocs docclean clean