From 2426f4154847e7079434da00e02144c22ed112de Mon Sep 17 00:00:00 2001 From: kokalj Date: Tue, 24 Feb 2004 16:32:59 +0000 Subject: [PATCH] simple enhancement git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@659 c92efa57-630b-4861-b058-cf58834340f0 --- GUI/Guib/doc/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/GUI/Guib/doc/Makefile b/GUI/Guib/doc/Makefile index 8384482b7..fa2ca839a 100644 --- a/GUI/Guib/doc/Makefile +++ b/GUI/Guib/doc/Makefile @@ -1,6 +1,7 @@ -# $Id: Makefile,v 1.1 2004-02-18 11:29:17 kokalj Exp $ +# $Id: Makefile,v 1.2 2004-02-24 16:32:59 kokalj Exp $ -ROBODOC = robodoc +ROBODOC = robodoc +ROBODOC_HTML = html %.pdf : %.tex if test ! -f $@ ; then pdflatex $<; fi @@ -9,8 +10,9 @@ ROBODOC = robodoc default: usage.pdf usage robodoc robodoc: + if test -d $(ROBODOC_HTML) ; then rm -rf $(ROBODOC_HTML) ; fi $(ROBODOC) - ( mkdir html; cd html; \ + ( cd $(ROBODOC_HTML); \ cat robodoc.css | sed "s/11pt/16pt/g" - > temp.css; \ cat temp.css | sed "s/10pt/12pt/g" - > robodoc.css; \ rm -f temp.css ) @@ -22,6 +24,6 @@ usage: usage.pdf usage.tex latex2html -split 0 usage.tex clean: - if test -d html/ ; then rm -rf html/; fi + if test -d $(ROBODOC_HTML) ; then rm -rf $(ROBODOC_HTML); fi if test -d usage/ ; then rm -rf usage/; fi -rm -f usage.aux usage.log usage.pdf usage.toc *~