]> git.saurik.com Git - apt.git/blame - Makefile
Fixed doc reference
[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
AL
8
9.PHONY: headers library clean veryclean all binary program doc
10all headers library clean veryclean binary program doc:
6322370b 11 $(MAKE) -C apt-pkg $@
024835dc 12 $(MAKE) -C methods $@
be4401bf 13# $(MAKE) -C methods/ftp $@
1164783d 14 $(MAKE) -C cmdline $@
880e9be4
AL
15 $(MAKE) -C deity $@
16 $(MAKE) -C gui $@
faf4e30c 17 $(MAKE) -C doc $@
93641593
AL
18
19.PHONY: maintainer-clean dist-clean distclean pristine sanity
20maintainer-clean dist-clean distclean pristine sanity: veryclean
93bf083d
AL
21
22
23# The startup target builds the necessary configure scripts. It should
24# be used after a CVS checkout.
25.PHONY: startup
5d36c2f2
AL
26BUILD=build
27CONVERTED=$(BUILD)/environment.mak $(BUILD)/include/config.h $(BUILD)/makefile
28startup: configure $(CONVERTED)
93bf083d
AL
29
30configure: aclocal.m4 configure.in
31 autoconf
32
33aclocal.m4:
34 aclocal -I buildlib
5d36c2f2
AL
35
36build:
37 mkdir $(BUILD)
38$(BUILD)/config.status: configure
39 (HERE=`pwd`; cd $(BUILD) && $$HERE/configure)
40$(BUILD)/include/config.h: buildlib/config.h.in
41$(BUILD)/environment.mak: buildlib/environment.mak.in
42$(CONVERTED):
43 (cd $(BUILD) && ./config.status)