[Commit] papers/xserver_ols2004 Makefile,1.1.1.1,1.2

Keith Packard commit at keithp.com
Thu Jun 10 00:51:16 PDT 2004


Committed by: keithp

Update of /local/src/CVS/papers/xserver_ols2004
In directory home.keithp.com:/tmp/cvs-serv2040

Modified Files:
	Makefile 
Log Message:
Add HTML creation commands

Index: Makefile
===================================================================
RCS file: /local/src/CVS/papers/xserver_ols2004/Makefile,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- a/Makefile	10 Jun 2004 07:17:23 -0000	1.1.1.1
+++ b/Makefile	10 Jun 2004 07:51:13 -0000	1.2
@@ -1,6 +1,7 @@
 
 .SUFFIXES: .tex .dvi .aux .eps .fig .dia .ps .pdf .bib .bbl
 
+EXPORT=xserver-ols2004
 TOP=packard
 TEXFILES=$(wildcard *.tex)
 BIBFILES=$(wildcard *.bib)
@@ -18,7 +19,7 @@
 .eps.pdf:
 	epstopdf $<
 
-all: $(TOP).ps $(TOP).pdf
+all: $(TOP).ps $(TOP).pdf $(EXPORT)-html/$(EXPORT).html
 
 $(TOP).ps: $(TOP).dvi
 	dvips -t letter -o $(TOP).ps $(TOP)
@@ -35,6 +36,23 @@
 	pdflatex $(TOP) || true
 	pdflatex $(TOP)
 
+LINKS=$(EXPORT).tex $(EXPORT).aux $(EXPORT).bbl
+
+$(EXPORT)-html/$(EXPORT).html: packard.dvi $(EXPORT)-html $(LINKS)
+	latex2html -white -dir $(EXPORT)-html -split 0 -no_navigation $(EXPORT).tex
+
+$(EXPORT)-html:
+	mkdir -p $(EXPORT)-html
+
+$(EXPORT).tex:
+	ln -s packard.tex $(EXPORT).tex
+
+$(EXPORT).aux: packard.aux
+	ln -s packard.aux $(EXPORT).aux
+	
+$(EXPORT).bbl: packard.bbl
+	ln -s packard.bbl $(EXPORT).bbl
+
 clean:
 	rm -f *.aux *.dvi *.log 
 	rm -f $(TOP).ps $(TOP).pdf $(TOP).bbl $(TOP).blg




More information about the Commit mailing list