3 # This is the build directory make file, it sets the build directory
4 # and runs the src makefile.
10 SUBDIRS:=./docs ./docs/examples ./bin ./bin/methods ./obj ./include/apt-pkg \
11 ./include/deity ./obj/apt-pkg ./obj/deity ./obj/gui ./obj/cmdline \
12 ./obj/test ./obj/methods ./obj/methods/ftp ./dselect
16 # Chain to the parent make to do the actual building
17 .PHONY: headers library clean veryclean all binary program doc
18 all headers library clean veryclean binary program doc:
19 $(MAKE) -C $(SRCDIR) -f Makefile $@
21 # This makes any missing directories
23 MISSING_DIRS:= $(filter-out $(wildcard $(SUBDIRS)),$(SUBDIRS))
25 ifneq ($(words $(MISSING_DIRS)),0)
26 @mkdir $(MISSING_DIRS)