Explorar o código

remove generated sgml files (if we really had build them)

David Kalnischkies %!s(int64=16) %!d(string=hai) anos
pai
achega
944b2fffc4
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      doc/makefile

+ 8 - 0
doc/makefile

@@ -43,6 +43,14 @@ veryclean-subdirs:
 	for dir in $(SUBDIRS); do\
 	for dir in $(SUBDIRS); do\
 		$(MAKE) -C $$dir veryclean; \
 		$(MAKE) -C $$dir veryclean; \
 	done
 	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
 ifdef PO4A
 doc: po4a
 doc: po4a