[PVFS2-CVS] commit by robl in pvfs2-1: Makefile.in
CVS commit program
cvs at parl.clemson.edu
Mon May 3 19:23:46 EDT 2004
Update of /projects/cvsroot/pvfs2-1
In directory acid:/tmp/cvs-serv27363
Modified Files:
Makefile.in
Log Message:
while we're at it, generate html versions as well
Index: Makefile.in
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/Makefile.in,v
diff -u -w -p -u -r1.152 -r1.153
--- Makefile.in 15 Apr 2004 00:19:57 -0000 1.152
+++ Makefile.in 3 May 2004 22:23:46 -0000 1.153
@@ -386,10 +386,11 @@ VISMISCOBJS := $(patsubst %.c,%.o, $(fil
# VISMISCDEPENDS is a list of dependency files for vis misc. objects
VISMISCDEPENDS := $(patsubst %.c,%.d, $(filter %.c,$(VISMISCSRC)))
-# DOCSPDF and DOCSPS are lists of documentation files generated from
-# latex
+# DOCSPDF, DOCSPS, and DOCSHTML are lists of documentation files generated
+# from latex
DOCSPDF := $(patsubst %.tex,%.pdf, $(filter %.tex,$(DOCSRC)))
DOCSPS := $(patsubst %.tex,%.ps, $(filter %.tex,$(DOCSRC)))
+DOCSHTML := $(patsubst %.tex,%.html, $(filter %.tex,$(DOCSRC)))
# DOCSCRUFT is a list of intermediate files generated by latex
DOCSCRUFT := $(patsubst %.tex,%.aux, $(filter %.tex,$(DOCSRC)))
@@ -653,11 +654,13 @@ codecheck:
find $(srcdir) -iname "*.[ch]" | xargs -n 1 $(srcdir)/maint/pvfs2codecheck.pl
# target for building documentation
-docs: $(DOCSPS) $(DOCSPDF)
+docs: $(DOCSPS) $(DOCSPDF) $(DOCSHTML)
# rule for cleaning up documentation
+# latex2html puts all its output in a directory
docsclean:
rm -f $(DOCSPS) $(DOCSPDF) $(DOCSCRUFT)
+ rm -rf $(basename $DOCSHTML)
# top rule for cleaning up tree
clean::
@@ -761,6 +764,8 @@ endif
( cd $(@D); dvips -t letter $(<F) -o $(@F) )
%.pdf: %.dvi
( cd $(@D); dvipdf $(<F) $(@F) )
+%.html: %.tex
+ $(srcdir)/maint/pvfs2latexwrapper.pl -html -i $(basename $<).tex -o $@
ifndef DIST_RELEASE
# rule for automatically generated source files
More information about the PVFS2-CVS
mailing list