diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2012-05-20 18:37:14 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2012-05-20 18:37:14 +0200 |
commit | 75f37d7d27c2579ddb88f852087a54934cb00c8b (patch) | |
tree | bc0ff7f1ece45b7cbbbd325c390b6c03d9d7b364 /buildlib/po4a_manpage.mak | |
parent | c086ac18511ce648a0ed88ab470965470bd422c5 (diff) |
move the creation of the manpage-style.xsl file to the rest of the
manpage building instead of doing it at setup time, so we can properly
depend on it
Diffstat (limited to 'buildlib/po4a_manpage.mak')
-rw-r--r-- | buildlib/po4a_manpage.mak | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/buildlib/po4a_manpage.mak b/buildlib/po4a_manpage.mak index 5814180d8..1dedd0dcd 100644 --- a/buildlib/po4a_manpage.mak +++ b/buildlib/po4a_manpage.mak @@ -28,7 +28,11 @@ veryclean: veryclean/$(LOCAL) apt-verbatim.ent: ../apt-verbatim.ent cp ../apt-verbatim.ent . -$($(LOCAL)-LIST) :: % : %.xml $(INCLUDES) +manpage-style.xsl: ../manpage-style.xsl + sed "/<!-- LANGUAGE -->/ i\ +<xsl:param name=\"l10n.gentext.default.language\" select=\"'$(LC)'\" />" ../manpage-style.xsl > manpage-style.xsl + +$($(LOCAL)-LIST) :: % : %.xml $(STYLESHEET) $(INCLUDES) echo Creating man page $@ $(XSLTPROC) -o $@ $(STYLESHEET) $< || exit 200 # why xsltproc doesn't respect the -o flag here??? test -f $(subst .$(LC),,$@) || echo FIXME: xsltproc respect the -o flag now, workaround can be removed |