revert r1029

This commit is contained in:
Frédéric Péters 2007-06-17 21:22:17 +00:00
parent 8da9b99bb7
commit d8eda83332
1 changed files with 6 additions and 7 deletions

View File

@ -1,7 +1,6 @@
REST2HTML = rst2html
RST2LATEX = ../scripts/rst2latex.py
PDFLATEX = pdflatex
RM = rm -r
all: wcs-admin.pdf wcs-admin.html
@ -9,7 +8,7 @@ all: wcs-admin.pdf wcs-admin.html
$(REST2HTML) --stylesheet=default.css --link-stylesheet --language=fr $? > $@
figures-no-alpha-stamp:
-$(RM) -r figures-no-alpha/
-rm -rf figures-no-alpha/
mkdir figures-no-alpha/
for F in figures/*.png; do \
../scripts/removealpha.sh $$F figures-no-alpha/`basename $$F`; \
@ -26,10 +25,10 @@ figures-no-alpha-stamp:
logfile=`echo "$@" |sed -r "s/(.*)....$$/\\1/"`.log; while [ -f "$$logfile" -a -n "`grep "Rerun to get cross-references right" $$logfile`" ]; do $(PDFLATEX) $< ; done
clean:
-$(RM) *.aux *.toc *.log *.out
-$(RM) wcs-admin.pdf
-$(RM) wcs-admin.tex
-$(RM) wcs-admin.html
-$(RM) -r figures-no-alpha figures-no-alpha-stamp
-rm *.aux *.toc *.log *.out
-rm wcs-admin.pdf
-rm wcs-admin.tex
-rm wcs-admin.html
-rm -rf figures-no-alpha figures-no-alpha-stamp
.PHONY: all clean