Przeglądaj źródła

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)

David Kalnischkies 16 lat temu
rodzic
commit
9cdb1aab6f
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      buildlib/po4a_manpage.mak

+ 1 - 0
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