docs-common Makefile.common,1.115,1.116
Paul W. Frields (pfrields)
fedora-docs-commits at redhat.com
Mon Jun 26 23:33:38 UTC 2006
Author: pfrields
Update of /cvs/docs/docs-common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7726
Modified Files:
Makefile.common
Log Message:
Allow document local fdp-entities.ent files to build directly from the
XML files in docs-common/common/entities/ . This means we can get rid
of all those confusing extra .ent files and do away with symlinking.
Tommy gives this approach a thumbs-up.
Index: Makefile.common
===================================================================
RCS file: /cvs/docs/docs-common/Makefile.common,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -r1.115 -r1.116
--- Makefile.common 16 Jun 2006 20:58:03 -0000 1.115
+++ Makefile.common 26 Jun 2006 23:33:35 -0000 1.116
@@ -857,9 +857,12 @@
#########################################################################
define FDP_ENTITIES_template
-${1}/$${FDP_ENTITIES}:: ${FDPDIR}/docs-common/common/entities/entities-${1}.ent
+${1}/$${FDP_ENTITIES}:: ${FDPDIR}/docs-common/common/entities/entities-${1}.xml
mkdir -p ${1}
- ln -s -f $$< $$@
+ xsltproc --stringparam FDPCOMMONDIR "NONE" \
+ $${FDPDIR}/docs-common/common/entities/entities.xsl \
+ $${FDPDIR}/docs-common/common/entities/entities-${1}.xml \
+ >$$@.tmp && move-if-change $$@.tmp $$@
clean::
${RM} ${1}/$${FDP_ENTITIES}
More information about the docs-commits
mailing list