cygwin-x-doc/ug Makefile.am,1.4,1.5

Alexander Gottwald xserver-commit at pdx.freedesktop.org
Tue Apr 13 16:00:45 PDT 2004


Committed by: ago

Update of /cvs/xserver/cygwin-x-doc/ug
In directory pdx:/tmp/cvs-serv29706/ug

Modified Files:
	Makefile.am 
Log Message:
make building of hardcopy docu configurable
check for docbook.dsl in different places. make it configurable
check for jadetex. don't build hardcopy docu if not available


Index: Makefile.am
===================================================================
RCS file: /cvs/xserver/cygwin-x-doc/ug/Makefile.am,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- a/Makefile.am	6 Apr 2004 03:30:55 -0000	1.4
+++ b/Makefile.am	13 Apr 2004 23:00:43 -0000	1.5
@@ -5,7 +5,7 @@
 XML_DECL=$(srcdir)/../stylesheets/xml.dcl
 
 HTML_SS=$(srcdir)/../stylesheets/website.dsl
-PRINT_SS=/usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl
+PRINT_SS=@DOCBOOK_DSL@
 
 ENTITIES=$(srcdir)/../common/entities.xml
 FDL=$(srcdir)/../common/fdl.xml
@@ -51,13 +51,21 @@
 
 ## Files generated by other builds
 
+if BUILD_HARDCOPY  
 extra_ug_ps = cygwin-x-ug.ps
 extra_ug_ps_gz = cygwin-x-ug.ps.gz
 extra_ug_pdf = cygwin-x-ug.pdf
-extra_ug_txt = cygwin-x-ug.txt
-extra_ug_rtf = cygwin-x-ug.rtf
 extra_ug_dvi = cygwin-x-ug.dvi
 extra_ug_tex = cygwin-x-ug.tex
+else
+extra_ug_ps =
+extra_ug_ps_gz =
+extra_ug_pdf =
+extra_ug_dvi =
+extra_ug_tex =
+endif
+extra_ug_txt = cygwin-x-ug.txt
+extra_ug_rtf = cygwin-x-ug.rtf
 
 ## Figure list for dependencies
 
@@ -133,7 +141,7 @@
 $(extra_ug_dvi):
 	-cp -pf prior.aux pprior.aux
 	-cp -pf $(shell basename $< .tex).aux prior.aux
-	jadetex $<
+	$(JADETEX) $<
 	if ! cmp $(shell basename $< .tex).aux prior.aux &&		\
 	   ! cmp $(shell basename $< .tex).aux pprior.aux &&		\
 	   expr $(MAKELEVEL) '<' $(MAX_TEX_RECURSION); then		\




More information about the xserver-commit mailing list