]> git.saurik.com Git - apt.git/blame - Makefile
use *.docs files instead of hardcoding in debian/rules
[apt.git] / Makefile
CommitLineData
6322370b
AL
1# -*- make -*-
2
3# This is the top level make file for APT, it recurses to each lower
4# level make file and runs it with the proper target
93bf083d 5ifndef NOISY
6322370b 6.SILENT:
93bf083d 7endif
6322370b 8
b2e465d6
AL
9.PHONY: default
10default: startup all
11
4ef2f35c 12.PHONY: fast headers library clean veryclean all binary program doc test update-po
a034d852 13all headers library clean veryclean binary program doc manpages docbook test update-po startup dirs:
eef71f11 14 $(MAKE) -C vendor $@
6322370b 15 $(MAKE) -C apt-pkg $@
b2e465d6 16 $(MAKE) -C apt-inst $@
b9179170 17 $(MAKE) -C apt-private $@
024835dc 18 $(MAKE) -C methods $@
1164783d 19 $(MAKE) -C cmdline $@
b2e465d6 20 $(MAKE) -C ftparchive $@
30d3bf59 21 $(MAKE) -C dselect $@
a1c4ae54
MV
22 $(MAKE) -C doc $@
23 $(MAKE) -C po $@
586bdb0c
MV
24 # FIXME: -C test has issue swith parallel builds, investigate!
25 -$(MAKE) -C test $@
93641593 26
4ef2f35c
JAK
27fast:
28 $(MAKE) -C vendor all
29 $(MAKE) -C apt-pkg all
30 $(MAKE) -C apt-inst all
31 $(MAKE) -C apt-private all
32 $(MAKE) -C methods all
33 $(MAKE) -C cmdline all
34 $(MAKE) -C ftparchive all
35 $(MAKE) -C test all
36
a034d852 37all headers library clean veryclean binary program doc manpages docbook test update-po: startup dirs
742f5705
DK
38
39dirs: startup
a11afb9d 40
46976ca4 41# Some very common aliases
742f5705 42.PHONY: maintainer-clean dist-clean distclean pristine sanity
93641593 43maintainer-clean dist-clean distclean pristine sanity: veryclean
742f5705 44veryclean: clean
93bf083d 45
93bf083d
AL
46# The startup target builds the necessary configure scripts. It should
47# be used after a CVS checkout.
3174e150 48CONVERTED=environment.mak include/config.h include/apti18n.h build/doc/Doxyfile makefile
c3c459fc 49include buildlib/configure.mak
53da8d70 50$(BUILDDIR)/include/config.h: buildlib/config.h.in
b2e465d6 51$(BUILDDIR)/include/apti18n.h: buildlib/apti18n.h.in
53da8d70 52$(BUILDDIR)/environment.mak: buildlib/environment.mak.in
c3c459fc 53$(BUILDDIR)/makefile: buildlib/makefile.in