summaryrefslogtreecommitdiff
path: root/buildlib/po4a_manpage.mak
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2009-10-16 08:36:15 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2009-10-16 08:36:15 +0200
commit9cdb1aab6f18c97e0d51e97e9a6b84bbf21ddc3e (patch)
tree3e524d0fd9236e650f66c617e9c27d8bd671ae62 /buildlib/po4a_manpage.mak
parent6fb994bc5d7c5c6d76472819f630bfcfead560fe (diff)
downloadapt-9cdb1aab6f18c97e0d51e97e9a6b84bbf21ddc3e.tar.gz
add a message which will be displayed if xsltproc does respect the -o
flag again and a manual mv to the correct name is no longer needed. (used in the buildprocess of po4a manpages)
Diffstat (limited to 'buildlib/po4a_manpage.mak')
-rw-r--r--buildlib/po4a_manpage.mak1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildlib/po4a_manpage.mak b/buildlib/po4a_manpage.mak
index 8bb7225b8..3d90c6ba4 100644
--- a/buildlib/po4a_manpage.mak
+++ b/buildlib/po4a_manpage.mak
@@ -28,6 +28,7 @@ veryclean: veryclean/$(LOCAL)
$($(LOCAL)-LIST) :: % : %.xml $(INCLUDES)
echo Creating man page $@
$(XSLTPROC) -o $@ $(STYLESHEET) $< # 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
mv -f $(subst .$(LC),,$@) $@
# Clean rule