diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | buildlib/configure.mak | 16 | ||||
-rw-r--r-- | buildlib/makefile.in | 2 |
3 files changed, 12 insertions, 10 deletions
@@ -23,6 +23,6 @@ maintainer-clean dist-clean distclean pristine sanity: veryclean # The startup target builds the necessary configure scripts. It should # be used after a CVS checkout. CONVERTED=environment.mak include/config.h makefile -$(BUILD)/include/config.h: buildlib/config.h.in -$(BUILD)/environment.mak: buildlib/environment.mak.in +$(BUILDDIR)/include/config.h: buildlib/config.h.in +$(BUILDDIR)/environment.mak: buildlib/environment.mak.in include buildlib/configure.mak diff --git a/buildlib/configure.mak b/buildlib/configure.mak index fd4010f83..2338717b2 100644 --- a/buildlib/configure.mak +++ b/buildlib/configure.mak @@ -6,21 +6,21 @@ # and has rules to run config.status should one of the .in files change. # Input -# BUILD - The build director +# BUILDDIR - The build directory # CONVERTED - List of files output by configure $(BUILD) is prepended # The caller must provide depends for these files # It would be a fairly good idea to run this after a cvs checkout. -BUILD=build +BUILDDIR=build .PHONY: startup -startup: configure $(addprefix $(BUILD)/,$(CONVERTED)) +startup: configure $(addprefix $(BUILDDIR)/,$(CONVERTED)) configure: aclocal.m4 configure.in autoconf aclocal.m4: aclocal -I buildlib -$(BUILD)/config.status: configure - test -e $(BUILD) || mkdir $(BUILD) - (HERE=`pwd`; cd $(BUILD) && $$HERE/configure) -$(addprefix $(BUILD)/,$(CONVERTED)): $(BUILD)/config.status - (cd $(BUILD) && ./config.status) +$(BUILDDIR)/config.status: configure + test -e $(BUILDDIR) || mkdir $(BUILDDIR) + (HERE=`pwd`; cd $(BUILDDIR) && $$HERE/configure) +$(addprefix $(BUILDDIR)/,$(CONVERTED)): $(BUILDDIR)/config.status + (cd $(BUILDDIR) && ./config.status) diff --git a/buildlib/makefile.in b/buildlib/makefile.in index 4a12e7d9b..cf808643b 100644 --- a/buildlib/makefile.in +++ b/buildlib/makefile.in @@ -2,7 +2,9 @@ # This is the build directory make file, it sets the build directory # and runs the src makefile. +ifndef NOISY .SILENT: +endif SRCDIR=@top_srcdir@ SUBDIRS:=./docs ./bin ./bin/methods ./obj ./include/apt-pkg ./include/deity |