]> git.saurik.com Git - apt.git/blobdiff - doc/makefile
the previously used VERSION didn't work everywhere so we are switching
[apt.git] / doc / makefile
index 8a889c94cc9563fbe5a3ccb80acdff6fdcc84a78..0817821b602a708a985c7b23d293d2f77f7c6d1e 100644 (file)
@@ -67,26 +67,21 @@ veryclean-subdirs:
                rm -rf $$dir; \
        done
 
+.PHONY: update-po po4a stats
+
 ifdef PO4A
 doc: po4a
 
-clean: po4a-clean
-
-.PHONY: update-po po4a stats
 update-po:
        po4a --previous --no-backups --force --no-translations po4a.conf
 
-po4a-clean:
-       po4a --previous --rm-backups --rm-translations po4a.conf
-
 po4a:
        po4a --previous --no-backups po4a.conf
+endif
 
 stats:
        for i in po/*.po; do echo -n "$$i: "; msgfmt --statistics $$i; done
 
-endif
-
 ifdef DOXYGEN
 DOXYGEN_SOURCES = $(shell find $(BASE)/apt-pkg -not -name .\\\#* -and \( -name \*.cc -or -name \*.h \) )
 
@@ -96,11 +91,9 @@ doxygen-clean:
        rm -fr $(BUILD)/doc/doxygen
        rm -f $(BUILD)/doc/doxygen-stamp
 
-$(BUILD)/doc/Doxyfile: Doxyfile.in
-       (cd $(BUILD) && ./config.status doc/Doxyfile)
-
 $(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