docs-common Makefile.common,1.14,1.15

Tommy Reynolds (jtr) fedora-docs-commits at redhat.com
Tue Nov 29 21:42:35 UTC 2005


Author: jtr

Update of /cvs/docs/docs-common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28240

Modified Files:
	Makefile.common 
Log Message:
Change default to the HTML "fedora-draft.css" stylesheet to reinforce
that the rendering here is not meant to be the final production rendering.
Provided the "bin/use-prod-css" to locally change HTML files to minic
production-quality rendering.  NOTE: draft watermarking does NOT PRINT 
unless the browser preferences enable background image printing.



Index: Makefile.common
===================================================================
RCS file: /cvs/docs/docs-common/Makefile.common,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- Makefile.common	29 Nov 2005 15:52:49 -0000	1.14
+++ Makefile.common	29 Nov 2005 21:42:28 -0000	1.15
@@ -64,7 +64,8 @@
 #  LANG=en.UTF-8 ${XMLTO} html -x $(XSLHTML) -o mydoc-en mydoc-en.xml
 #  mkdir -p mydoc-en/stylesheet-images
 #  cp ${FDPDIR}/docs-common/stylesheet-images/*.png mydoc-en/stylesheet-images/
-#  cp ${FDPDIR}/docs-common/css/fedora.css mydoc-en/
+#  cp ${FDPDIR}/docs-common/css/fedora*.css mydoc-en/
+#  cp ${FDPDIR}/docs-common/images/watermark.png mydoc-en/
 #  mkdir -p mydoc-en/figs
 #  cp -p figs/*-${LANG}.* mydoc-en/figs
 # but we do avoid copying EPS files since they are nonsense to the HTML world.
@@ -76,7 +77,8 @@
 	LANG=$(1).UTF-8 ${XMLTO} html -x $(XSLHTML) -o $(DOCBASE)-$(1) $(DOCBASE)-$(1).xml
 	mkdir -p $(DOCBASE)-$(1)/stylesheet-images/
 	cp ${FDPDIR}/docs-common/stylesheet-images/*.png $(DOCBASE)-$(1)/stylesheet-images
-	cp ${FDPDIR}/docs-common/css/fedora.css $$(DOCBASE)-$(1)/
+	cp ${FDPDIR}/docs-common/css/fedora*.css $$(DOCBASE)-$(1)/
+	cp ${FDPDIR}/docs-common/images/watermark.png $${DOCBASE}-$(1)/
 	[ ! -d figs ] || (						\
 		mkdir -p ${DOCBASE}-$(1)/figs;				\
 		find figs -type f -iname '*.*' -print		|	\
@@ -97,7 +99,8 @@
 	${XMLTO} html-nochunks -x $(XSLHTMLNOCHUNKS) $(DOCBASE)-$(1).xml
 	mkdir -p stylesheet-images/
 	cp ${FDPDIR}/docs-common/stylesheet-images/*.png stylesheet-images/
-	cp ${FDPDIR}/docs-common/css/fedora.css .
+	cp ${FDPDIR}/docs-common/css/fedora*.css .
+	cp ${FDPDIR}/docs-common/images/watermark.png .
 endef
 #
 html-nochunks::	$(foreach LANG,${LANGUAGES},$(DOCBASE)-$(LANG).html)
@@ -133,9 +136,10 @@
 define	CLEAN_template
 ${DOCBASE}-$(1)-clean::
 	${RM} -r ${DOCBASE}-$(1)
-	${RM} -r ${DOCBASE}-$(1).html stylesheet-images fedora.css
+	${RM} -r ${DOCBASE}-$(1).html stylesheet-images
 	${RM} -r ${DOCBASE}-$(1).pdf
 	${RM} -r ${DOCBASE}-$(1).tar.gz
+	${RM} fedora*.css watermark.png
 endef
 #
 distclean clean:: $(foreach LANG,${LANGUAGES},${DOCBASE}-${LANG}-clean)




More information about the Fedora-docs-commits mailing list