From 3d09ab0bd3f02a4aa6ae4aebcb4ce8d8ee8a4447 Mon Sep 17 00:00:00 2001 From: "Paul W. Frields" Date: Thu, 5 Apr 2007 11:32:37 +0000 Subject: Move this errant declaration so that ${LANG}/rpm-info.xml is properly considered as part of the XMLFILES for a lang. This will ensure POT is properly generated when only the rpm-info.xml file is changed. --- Makefile.common | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.common b/Makefile.common index 24fba77..5e00731 100644 --- a/Makefile.common +++ b/Makefile.common @@ -205,6 +205,8 @@ endif # Explode the template from the doc-specific Makefile to get the # XML files the author knows about. $(foreach L,${LANGUAGES},$(eval $(call XMLFILES_template,${L}))) +# Make sure rpm-info is part of the document PO template +$(foreach L,${LANGUAGES},$(eval XMLFILES-${L}+=${L}/${RPMINFO})) # Append per-document dependencies $(foreach L, ${LANGUAGES}, $(eval XMLDEPFILES-${L}+=${DOC_ENTITIES_ENT-${L}})) $(foreach L, ${LANGUAGES}, $(eval XMLDEPFILES-${L}+=${L}/fdp-info.xml)) @@ -824,8 +826,6 @@ endef # ${PRI_LANG}/${RPMINFO} must exist, only generate for OTHERS $(foreach L,${OTHERS},$(eval $(call rpm-info_template,${L}))) -# Make sure rpm-info is part of the document PO template -$(foreach L,${LANGUAGES},$(eval XMLFILES-${L}+=${L}/${RPMINFO})) # ######################################################################### -- cgit