diff --git a/doc/fr/Makefile b/doc/fr/Makefile index f013481ea..93bd07fbf 100644 --- a/doc/fr/Makefile +++ b/doc/fr/Makefile @@ -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