Anonymous avatar Anonymous committed 2b13c83

[PATCH] packages: Fix HTML generation for xslt-process package, make distclean double-colon <8z5p8ijc.fsf@smtprelay.t-online.de>;

Comments (0)

Files changed (3)

+2002-06-09  Adrian Aichner  <adrian@xemacs.org>
+
+	* doc/Makefile (HTML_FILES): New.
+	* doc/Makefile (HTML_DEP): New.
+	* doc/Makefile: Include XEmacs.rules.
+	* doc/Makefile (.texi.html): Removed.
+	* doc/Makefile (all): Make double-colon, remove html from
+	dependencies.
+	* doc/Makefile (html): Remove.
+	* doc/Makefile (homepage): Process HTML_DEP, not HTML.
+	* doc/Makefile (html): Removed.
+	* doc/Makefile (clean): Add HTML_FILES.
+	* doc/Makefile (distclean): Make double-colon.
+
+2002-06-09  Adrian Aichner  <adrian@xemacs.org>
+
+	* Makefile (HTML_FILES): Removed.
+	* Makefile (HTML_DEP): Removed.
+	* Makefile (html): New.  Delegate to doc/Makefile.
+	* Makefile (distclean): New.  Ditto.
+
 2002-05-09  Steve Youngs  <youngs@xemacs.org>
 
 	* Makefile (VERSION): XEmacs package 1.07 released.
 AUTOLOAD_PATH = lisp
 
 INFO_FILES = doc/$(PACKAGE).info
-HTML_FILES = doc/$(PACKAGE)*.html
-HTML_DEP = doc/$(PACKAGE).html
 TEXI_FILES = doc/$(PACKAGE).texi doc/$(PACKAGE).gif
 MANUALS = $(PACKAGE)
 
 all:: $(AUTOLOAD_PATH)/auto-autoloads.elc $(ELCS) \
 	$(AUTOLOAD_PATH)/custom-load.elc $(INFO_FILES)
 
+html:
+	$(MAKE) -C doc PACKAGE=$(PACKAGE) html
+
 srckit: srckit-std
 
 binkit: binkit-common
 
 clean::
 	(cd doc; $(MAKE) clean)
+
+distclean::
+	(cd doc; $(MAKE) distclean)
 PS = $(TEXI:.texi=.ps)
 PDF = $(TEXI:.texi=.pdf)
 HTML = $(TEXI:.texi=.html)
+HTML_FILES = $(PACKAGE)*.html
+HTML_DEP = $(PACKAGE).html
 
 .SUFFIXES: .texi .info .dvi .ps .pdf .html
 
+include ../../../XEmacs.rules
+
 .texi.info:
 	$(MAKEINFO) $<
 	info --output=../README --subnodes --file $@
 .dvi.ps:
 	dvips -o $@ $<
 
-.texi.html:
-	texi2html -nosec_nav -nomenu $<
-
 .texi.pdf:
 	texi2pdf $<
 
-all: info dvi ps pdf html
+all:: info dvi ps pdf
 
 info: $(INFO)
 dvi: $(DVI)
 ps: $(PS)
 pdf: $(PDF)
-html: $(HTML)
 
 homepage: html
 	sed -e 's/<BODY[^>]*>/<BODY>/g' \
-	  -e 's^</BODY>^<p><a HREF=../index.html><img src=../../images/back.gif border=0%> Other (X)Emacs hacks</a><br><a href=../../index.html><img src=../../images/home.gif border=0%> Home</a></body>^g' -e 's/xslt-process.html/index.html/g' <$(HTML) >$(HTML).tmp
+	  -e 's^</BODY>^<p><a HREF=../index.html><img src=../../images/back.gif border=0%> Other (X)Emacs hacks</a><br><a href=../../index.html><img src=../../images/home.gif border=0%> Home</a></body>^g' -e 's/xslt-process.html/index.html/g' <$(HTML_DEP) >$(HTML).tmp
 	mv $(HTML).tmp index.html
 
-clean:
-	rm -f *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr
+clean::
+	rm -f *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr $(HTML_FILES)
 
-distclean: clean
+distclean:: clean
 	rm -f *.dvi *.html *.pdf *.ps *.info
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.