/[volute]/trunk/projects/note-urifragments/Makefile
ViewVC logotype

Diff of /trunk/projects/note-urifragments/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1741 by norman.x.gray, Wed Apr 4 17:36:40 2012 UTC revision 1742 by norman.x.gray, Wed May 16 22:36:39 2012 UTC
# Line 31  Line 31 
31  # title; this is case sensitive)  # title; this is case sensitive)
32  STDNAME=uri-fragments  STDNAME=uri-fragments
33  # The current version  # The current version
34  DOCVERSION=0.2  DOCVERSION=0.3
35  # YYYY-MM-DD of the current release  # YYYY-MM-DD of the current release
36  DOCDATE=2012-04-04  DOCDATE=20120516
37  # One of NOTE, WD, PR, REC  # One of NOTE, WD, PR, REC
38  PUBSTATUS=NOTE  PUBSTATUS=NOTE
39  # Extra files that need to end up in the final package  # Extra files that need to end up in the final package
# Line 59  Line 59 
59  .PHONY: package  .PHONY: package
60    
61  %-fmt.html: %.html $(HTMLSTYLE)  %-fmt.html: %.html $(HTMLSTYLE)
62          $(SAXON) -o:$@ -s:$< -xsl:$(HTMLSTYLE) docdate=$(DOCDATE) document-id=$< \          rm -f $@
63            $(SAXON) -o:$@.tmp -s:$< -xsl:$(HTMLSTYLE) docdate=$(DOCDATE) document-id=$< \
64                  docversion=$(DOCVERSION) pubstatus=$(PUBSTATUS) ivoname=$(STDNAME) \                  docversion=$(DOCVERSION) pubstatus=$(PUBSTATUS) ivoname=$(STDNAME) \
65                  docbase=http://www.astro.gla.ac.uk/users/norman/temp/                  docbase=http://www.astro.gla.ac.uk/users/norman/temp/ && mv $@.tmp $@
66    
67  %.fo: %-fmt.html  %.fo: %-fmt.html
68          $(SAXON) -o $@ $< $(FOSTYLE) docdate=$(DOCDATE)\          $(SAXON) -o $@ $< $(FOSTYLE) docdate=$(DOCDATE)\
# Line 72  Line 73 
73    
74  %.bbl: %.html  %.bbl: %.html
75          rm -f $@          rm -f $@
76          $(SAXON) -o:$@ -s:$< -xsl:ivoadoc/extractcite.xslt document-id=$<          $(SAXON) -o:${@:.bbl=.aux} -s:$< -xsl:ivoadoc/extractcite.xslt document-id=$<
77          bibtex ${<:.html=}          bibtex ${<:.html=}
78          rm -f ${<:.html=.aux}          rm -f ${<:.html=.aux}
79          sed -f ivoadoc/detex.sed $@ >$@.tmp && mv $@.tmp $@          sed -f ivoadoc/detex.sed $@ >$@.tmp && mv $@.tmp $@
# Line 113  Line 114 
114    
115  clean:  clean:
116          rm -f $(PUBSTATUS)-$(STDNAME)-*.html $(PUBSTATUS)-$(STDNAME)-*.pdf $(STDNAME).pdf          rm -f $(PUBSTATUS)-$(STDNAME)-*.html $(PUBSTATUS)-$(STDNAME)-*.pdf $(STDNAME).pdf
117          rm -f $(STDNAME)-fmt.html          rm -f $(STDNAME)-fmt.html $(STDNAME).bbl
118          rm -Rf $(versionedName)*          rm -Rf $(versionedName)*

Legend:
Removed from v.1741  
changed lines
  Added in v.1742

msdemlei@ari.uni-heidelberg.de
ViewVC Help
Powered by ViewVC 1.1.26