summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)