]> git.saurik.com Git - apt.git/blobdiff - buildlib/po4a_manpage.mak
* cmdline/apt-cdrom.cc:
[apt.git] / buildlib / po4a_manpage.mak
index 8bb7225b83b8b096bbd665cefb6470275e6f39ab..dfa215d299cf92f625c51161bbce0cda7a9908fd 100644 (file)
@@ -28,13 +28,15 @@ 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
 .PHONY: veryclean/$(LOCAL)
 veryclean/$(LOCAL):
        -rm -rf $($(@F)-LIST) apt.ent apt.$(LC).8 \
-               $(addsuffix .xml,$($(@F)-LIST))
+               $(addsuffix .xml,$($(@F)-LIST)) \
+               offline.$(LC).sgml guide.$(LC).sgml
 
 HAVE_PO4A=yes
 endif