cygwin-x-doc/faq Makefile.am,1.5,1.6

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/faq
In directory pdx:/tmp/cvs-serv29706/faq

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/faq/Makefile.am,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- a/Makefile.am	6 Apr 2004 03:30:55 -0000	1.5
+++ b/Makefile.am	13 Apr 2004 23:00:42 -0000	1.6
@@ -3,7 +3,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
@@ -44,13 +44,21 @@
 
 ## Files generated by other builds
 
+if BUILD_HARDCOPY
 extra_faq_ps = cygwin-x-faq.ps
 extra_faq_ps_gz = cygwin-x-faq.ps.gz
 extra_faq_pdf = cygwin-x-faq.pdf
-extra_faq_txt = cygwin-x-faq.txt
-extra_faq_rtf = cygwin-x-faq.rtf
 extra_faq_dvi = cygwin-x-faq.dvi
 extra_faq_tex = cygwin-x-faq.tex
+else
+extra_faq_ps =
+extra_faq_ps_gz =
+extra_faq_pdf =
+extra_faq_dvi =
+extra_faq_tex =
+endif
+extra_faq_txt = cygwin-x-faq.txt
+extra_faq_rtf = cygwin-x-faq.rtf
 
 faqdir = $(docdir)/faq
 faq_DATA = cygwin-x-faq.html $(extra_faq_html) $(extra_faq_ps_gz) \
@@ -96,7 +104,7 @@
 $(extra_faq_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