cygwin-x-doc/cg 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/cg
In directory pdx:/tmp/cvs-serv29706/cg
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/cg/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:54 -0000 1.4
+++ b/Makefile.am 13 Apr 2004 23:00:43 -0000 1.5
@@ -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
@@ -61,13 +61,21 @@
## Files generated by other builds
+if BUILD_HARDCOPY
extra_cg_ps = cygwin-x-cg.ps
extra_cg_ps_gz = cygwin-x-cg.ps.gz
extra_cg_pdf = cygwin-x-cg.pdf
-extra_cg_txt = cygwin-x-cg.txt
-extra_cg_rtf = cygwin-x-cg.rtf
extra_cg_dvi = cygwin-x-cg.dvi
extra_cg_tex = cygwin-x-cg.tex
+else
+extra_cg_ps =
+extra_cg_ps_gz =
+extra_cg_pdf =
+extra_cg_dvi =
+extra_cg_tex =
+endif
+extra_cg_txt = cygwin-x-cg.txt
+extra_cg_rtf = cygwin-x-cg.rtf
cgdir = $(docdir)/cg
cg_DATA = cygwin-x-cg.html $(extra_cg_html) $(extra_cg_ps_gz) \
@@ -113,7 +121,7 @@
$(extra_cg_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