4 SUBDIRS= $(dir $(wildcard */makefile))
6 # Bring in the default rules
7 include ../buildlib/defaults.mak
9 # Debian Doc SGML Documents
10 SOURCE = dpkg-tech.sgml design.sgml files.sgml guide.sgml \
11 cache.sgml method.sgml offline.sgml
12 include $(DEBIANDOC_H)
15 SOURCE = apt-cache.8 apt-get.8 apt-cdrom.8 apt.conf.5 sources.list.5 \
16 apt-config.8 apt_preferences.5 \
17 apt-sortpkgs.1 apt-ftparchive.1 apt-extracttemplates.1 \
18 apt-key.8 apt-secure.8 apt-mark.8
20 include $(XML_MANPAGE_H)
23 SOURCE = examples/apt.conf examples/sources.list examples/configure-index examples/apt-https-method-example.conf
28 #.PHONY: headers library clean veryclean all binary program doc doc.pt_BR doc.fr
30 for dir in $(SUBDIRS); do\
31 $(MAKE) -C $$dir $@; \
35 veryclean: veryclean-subdirs
38 for dir in $(SUBDIRS); do\
39 $(MAKE) -C $$dir clean; \
43 for dir in $(SUBDIRS); do\
44 $(MAKE) -C $$dir veryclean; \
52 .PHONY: update-po po4a
54 po4a --previous --no-backups --force --no-translations po4a.conf
57 po4a --previous --rm-backups --rm-translations po4a.conf
60 po4a --previous --no-backups po4a.conf
64 DOXYGEN_SOURCES = $(shell find $(BASE)/apt-pkg -not -name .\\\#* -and \( -name \*.cc -or -name \*.h \) )
69 rm -fr $(BUILD)/doc/doxygen
70 rm -f $(BUILD)/doc/doxygen-stamp
72 $(BUILD)/doc/Doxyfile: Doxyfile.in
73 (cd $(BUILD) && ./config.status doc/Doxyfile)
75 $(BUILD)/doc/doxygen-stamp: $(DOXYGEN_SOURCES) $(BUILD)/doc/Doxyfile
76 rm -fr $(BUILD)/doc/doxygen
77 $(DOXYGEN) $(BUILD)/doc/Doxyfile
78 touch $(BUILD)/doc/doxygen-stamp
80 doc: $(BUILD)/doc/doxygen-stamp