Commits

Anonymous committed 7d783aa

2001-12-29 Norbert Koch <nk@LF.net>

* Makefile:
* doc/Makefile:
Define and use make variables instead of hardcoding names.

Comments (0)

Files changed (3)

+2001-12-29  Norbert Koch  <nk@LF.net>
+
+	* Makefile:
+	* doc/Makefile:
+	Define and use make variables instead of hardcoding names.
+
 2001-08-25  Vin Shelton  <acs@xemacs.org>
 
 	* Makefile:
 	edit-utils eterm mail-lib xemacs-base elib eieio sh-script
 CATEGORY = standard
 
+MAKE ?= make
+
 JAR = xslt.jar
 
 ELCS = lisp/xslt-process.elc
 	 jar cf $(JAR) `find . -name '*.class'`)
 
 doc:
-	(cd doc; make)
+	(cd doc; $(MAKE))
 
 clean::
-	(cd doc; make clean)
+	(cd doc; $(MAKE) clean)
+MAKEINFO ?= makeinfo
+
 TEXI = xslt-process.texi
 
 INFO = $(TEXI:.texi=.info)
 .SUFFIXES: .texi .info .dvi .ps .pdf .html
 
 .texi.info:
-	makeinfo $<
+	$(MAKEINFO) $<
 	info --output=../README --subnodes --file $@
 	sed -e '/^File:.*/d' -e '/[ 	]*,Top[ 	]*/d' <../README >../README.tmp
 	info --file=$@ --node=Installation --node='Setting up PSGML with XSLT-process' --output ../INSTALL