]> git.saurik.com Git - apt.git/blobdiff - doc/makefile
Allow the FileFd to use an external Compressor to uncompress a given file
[apt.git] / doc / makefile
index 93504e23eafbce4bc999371dc15ca21f1c7fb7f9..4fcf3bd10a822afcb5c4e811f01d6e5fd20df032 100644 (file)
@@ -51,10 +51,7 @@ doc:
        for i in $(shell ls po/*.po | sed -r 's#po/([a-z]+[A-Z_]*).po#\1#'); do \
                test -d $$i || mkdir $$i; \
                test -f $$i/makefile || sed "s#@@LANG@@#$$i#" lang.makefile > $$i/makefile; \
-       done
-       # it is likely that we have changed the list, so SUBDIRS is incorrect
-       for dir in $(dir $(wildcard */makefile)); do\
-               $(MAKE) -C $$dir $@; \
+               $(MAKE) -C $$i $@; \
        done
 
 clean: clean-subdirs
@@ -67,7 +64,7 @@ clean-subdirs:
 
 veryclean-subdirs:
        for dir in $(SUBDIRS); do\
-               $(MAKE) -C $$dir veryclean; \
+               rm -rf $$dir; \
        done
 
 ifdef PO4A
@@ -104,6 +101,7 @@ $(BUILD)/doc/Doxyfile: Doxyfile.in
 
 $(BUILD)/doc/doxygen-stamp: $(DOXYGEN_SOURCES) $(BUILD)/doc/Doxyfile
        rm -fr $(BUILD)/doc/doxygen
+       mkdir $(BUILD)/doc/doxygen  # some versions seem to not create this directory #628799
        $(DOXYGEN) $(BUILD)/doc/Doxyfile
        touch $(BUILD)/doc/doxygen-stamp