Makefile: for creating the html from def files, use: make html

(but prior to that read README.helpdoc for the software needed to ran halpdoc).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4740 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
kokalj 2008-03-12 14:26:02 +00:00
parent 329c59b210
commit 8f17b0693a
1 changed files with 29 additions and 0 deletions

29
Doc/Makefile Normal file
View File

@ -0,0 +1,29 @@
HELPDOC = ../dev-tools/helpdoc
LATEX = pdflatex
HTMLS = \
INPUT_PW.html \
INPUT_PH.html \
INPUT_PP.html \
INPUT_PROJWFC.html \
INPUT_LD1.html \
INPUT_D3.html
XMLS = $(HTMLS:.html=.xml)
PDFS = constraints_HOWTO.pdf eps_man.pdf
AUXS = $(PDFS:.pdf=.aux)
LOGS = $(PDFS:.pdf=.log)
html: $(HTMLS)
pdf: $(PDFS)
all: html pdf
$(HTMLS): %.html: %.def
$(HELPDOC) $<
$(PDFS): %.pdf: %.tex
$(LATEX) $<
$(LATEX) $<
clean:
rm -f $(HTMLS) $(XMLS) $(PDFS) $(AUXS) $(LOGS) *~