remove generated sgml files (if we really had build them)
authorDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 29 Oct 2009 20:34:31 +0000 (21:34 +0100)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 29 Oct 2009 20:34:31 +0000 (21:34 +0100)
doc/makefile

index fe53aba..26ca52a 100644 (file)
@@ -43,6 +43,14 @@ veryclean-subdirs:
        for dir in $(SUBDIRS); do\
                $(MAKE) -C $$dir veryclean; \
        done
+       # FIXME remove created sgml files, but preserve all
+       # which are "left over" from older systems.
+       # After completing the transition this should be handled
+       # in the po4a-manpage makefile for all translations
+       for dir in $(subst /addendum/,, $(dir $(wildcard */addendum/debiandoc*))); do\
+               rm -f $$dir/offline.$$dir.sgml; \
+               rm -f $$dir/guide.$$dir.sgml; \
+       done
 
 ifdef PO4A
 doc: po4a