]> git.saurik.com Git - apt.git/blob - buildlib/makefile.in
Comment touch ups
[apt.git] / buildlib / makefile.in
1 # -*- make -*-
2
3 # This is the build directory make file, it sets the build directory
4 # and runs the src makefile.
5 .SILENT:
6
7 SRCDIR=@top_srcdir@
8 SUBDIRS:=./doc ./bin ./obj ./include/apt-pkg ./include/deity
9 BUILD:=$(shell pwd)
10 export BUILD
11
12 # Chain to the parent make to do the actual building
13 .PHONY: headers library clean veryclean all binary program doc
14 all headers library clean veryclean binary program doc:
15 $(MAKE) -C $(SRCDIR) -f Makefile $@
16
17 # This makes any missing directories
18 .PHONY: dirs
19 MISSING_DIRS:= $(filter-out $(wildcard $(SUBDIRS)),$(SUBDIRS))
20 dirs:
21 ifneq ($(words $(MISSING_DIRS)),0)
22 @mkdir $(MISSING_DIRS)
23 else
24 @echo > /dev/null
25 endif