Improved handling of dependencies between input_xx.xsl and resulting INPUT_*.html|txt

git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13025 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
kokalj 2016-09-26 14:19:13 +00:00
parent 6f9ac4a4a3
commit ddb98b1515
1 changed files with 4 additions and 4 deletions

View File

@ -18,22 +18,22 @@ clean:
- rm -f ../../Doc/INPUT_{Spectrum,Lanczos,Davidson,EELS}.*
defs: link_input_xx $(HTMLS) $(TXTS) link_on_main_doc
defs: input_xx.xsl $(HTMLS) $(TXTS) link_on_main_doc
link_input_xx:
input_xx.xsl:
@(if test ! -f input_xx.xsl; then \
(if test -f ../../dev-tools/input_xx.xsl; then \
(ln -sf ../../dev-tools/input_xx.xsl input_xx.xsl) ; \
else \
echo ; \
echo " Sorry, can not find input_xx.xsl html style file !!!" ; \
echo ; \
echo ; exit 1 ; \
fi) ; fi)
$(HTMLS): %.html: %.def input_xx.xsl
$(HELPDOC) $<
$(TXTS): %.txt: %.def
$(TXTS): %.txt: %.def input_xx.xsl
$(HELPDOC) $<
link_on_main_doc: