docs-common Makefile.common,1.77,1.78
Tommy Reynolds (jtr)
fedora-docs-commits at redhat.com
Tue Feb 28 21:47:56 UTC 2006
- Previous message (by thread): release-notes/en ArchSpecificPPC.xml, 1.4, 1.5 ArchSpecificx86_64.xml, 1.4, 1.5 ArchSpecificx86.xml, 1.4, 1.5 ArchSpecific.xml, 1.5, 1.6 BackwardsCompatibility.xml, 1.3, 1.4 Colophon.xml, 1.3, 1.4 DatabaseServers.xml, 1.3, 1.4 Desktop.xml, 1.5, 1.6 DevelToolsGCC.xml, 1.3, 1.4 DevelTools.xml, 1.5, 1.6 Entertainment.xml, 1.3, 1.4 Extras.xml, 1.3, 1.4 Feedback.xml, 1.3, 1.4 FileServers.xml, 1.4, 1.5 FileSystems.xml, 1.2, 1.3 I18n.xml, 1.4, 1.5 Installer.xml, 1.4, 1.5 Java.xml, 1.3, 1.4 Kernel.xml, 1.6, 1.7 Legacy.xml, 1.3, 1.4 Multimedia.xml, 1.3, 1.4 Networking.xml, 1.6, 1.7 OverView.xml, 1.4, 1.5 PackageChanges.xml, 1.3, 1.4 PackageNotes.xml, 1.5, 1.6 Printing.xml, 1.2, 1.3 ProjectOverview.xml, 1.3, 1.4 Samba.xml, 1.5, 1.6 SecuritySELinux.xml, 1.4, 1.5 Security.xml, 1.6, 1.7 ServerTools.xml, 1.3, 1.4 SystemDaemons.xml, 1.3, 1.4 Virtualization.xml, 1.2, 1.3 WebServers.xml, 1.3, 1.4 Welcome.xml, 1.4, 1.5 Xorg.xml, 1.4, 1.5
- Next message (by thread): docs-common Makefile.common,1.78,1.79
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jtr
Update of /cvs/docs/docs-common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30260
Modified Files:
Makefile.common
Log Message:
Added "make validate-xml-${LANG}" and "make validate-xml" targets to
validate the document XML without performing any subsequent processing.
Index: Makefile.common
===================================================================
RCS file: /cvs/docs/docs-common/Makefile.common,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- Makefile.common 28 Feb 2006 12:38:52 -0000 1.77
+++ Makefile.common 28 Feb 2006 21:47:49 -0000 1.78
@@ -771,6 +771,30 @@
#########################################################################
#########################################################################
+# 'VALIDATE_template' emits rules and targets to validate the XML for the
+# specified ${LANG}
+define VALIDATE_template
+.PHONY: validate-xml-${1}
+
+validate-xml-${1}: ${XMLFILES-${1}}
+ ${XMLLINT} --noout --xinclude --postvalid ${1}/${DOCBASE}.xml
+
+help::
+ @printf ${TFMT} 'validate-xml-${1}' 'Validate locale "${1}" XML'
+endef
+
+$(foreach L,${PRI_LANG} ${OTHERS},$(eval $(call VALIDATE_template,${L})))
+
+.PHONY: validate-xml
+
+validate-xml: $(foreach L,${PRI_LANG} ${OTHERS},validate-xml-${L})
+
+help::
+ @printf ${TFMT} 'validate-xml' 'Validate all XML'
+#
+#########################################################################
+
+#########################################################################
# End of Makefile.common
#########################################################################
# Local variables:
- Previous message (by thread): release-notes/en ArchSpecificPPC.xml, 1.4, 1.5 ArchSpecificx86_64.xml, 1.4, 1.5 ArchSpecificx86.xml, 1.4, 1.5 ArchSpecific.xml, 1.5, 1.6 BackwardsCompatibility.xml, 1.3, 1.4 Colophon.xml, 1.3, 1.4 DatabaseServers.xml, 1.3, 1.4 Desktop.xml, 1.5, 1.6 DevelToolsGCC.xml, 1.3, 1.4 DevelTools.xml, 1.5, 1.6 Entertainment.xml, 1.3, 1.4 Extras.xml, 1.3, 1.4 Feedback.xml, 1.3, 1.4 FileServers.xml, 1.4, 1.5 FileSystems.xml, 1.2, 1.3 I18n.xml, 1.4, 1.5 Installer.xml, 1.4, 1.5 Java.xml, 1.3, 1.4 Kernel.xml, 1.6, 1.7 Legacy.xml, 1.3, 1.4 Multimedia.xml, 1.3, 1.4 Networking.xml, 1.6, 1.7 OverView.xml, 1.4, 1.5 PackageChanges.xml, 1.3, 1.4 PackageNotes.xml, 1.5, 1.6 Printing.xml, 1.2, 1.3 ProjectOverview.xml, 1.3, 1.4 Samba.xml, 1.5, 1.6 SecuritySELinux.xml, 1.4, 1.5 Security.xml, 1.6, 1.7 ServerTools.xml, 1.3, 1.4 SystemDaemons.xml, 1.3, 1.4 Virtualization.xml, 1.2, 1.3 WebServers.xml, 1.3, 1.4 Welcome.xml, 1.4, 1.5 Xorg.xml, 1.4, 1.5
- Next message (by thread): docs-common Makefile.common,1.78,1.79
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Fedora-docs-commits
mailing list