summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTommy Reynolds <Tommy.Reynolds@MegaCoder.com>2006-02-07 00:18:12 +0000
committerTommy Reynolds <Tommy.Reynolds@MegaCoder.com>2006-02-07 00:18:12 +0000
commit4d791a98aca429aa67f7c77495cd91e7ec309afe (patch)
tree4c5d2ed20e621c79699a6ade1ac09d27ac55a3a7
parentca4fa34b9f08591da92b2585a57180b119b65d93 (diff)
downloadfedora-doc-utils-4d791a98aca429aa67f7c77495cd91e7ec309afe.tar.gz
fedora-doc-utils-4d791a98aca429aa67f7c77495cd91e7ec309afe.tar.xz
fedora-doc-utils-4d791a98aca429aa67f7c77495cd91e7ec309afe.zip
Actually check in the ${PRI_LANG} changes I mentioned earlier.
-rw-r--r--Makefile.common9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.common b/Makefile.common
index a32b672..2e123b1 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -54,8 +54,13 @@ endif
ifeq "${DRAFT}" ""
DRAFT = yes
endif
+ifeq "${PRI_LANG}" ""
+PRI_LANG= en
+endif
ifeq "${RPMINFO}" ""
-RPMINFO = ${PWD}/${LANG}/rpm-info-${LANG}.xml
+# Don't panic, we need this only to get the latest RPM package version
+# All other rpm-info usages are driven by XSLT scripts.
+RPMINFO = ${PWD}/${PRI_LANG}/rpm-info-${PRI_LANG}.xml
endif
#########################################################################
# Define a macro to locate xmlto(1) so we can choose a specific version
@@ -75,7 +80,7 @@ XML2PO =xml2po
#########################################################################
# Use our very own "docs-common/bin/fdpsh" as the command interpreter
# This automatically has ${FDPBIN} as first in the ${PATH}
-SHELL =RPMINFO=${RPMINFO} ${FDPBIN}/fdpsh
+SHELL =${FDPBIN}/fdpsh
#########################################################################
VERSION:=$(shell version doc)
RELEASE:=$(shell version rpm)