Fixed make woops
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:51:21 +0000 (16:51 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:51:21 +0000 (16:51 +0000)
Author: jgg
Date: 1998-11-06 03:10:24 GMT
Fixed make woops

Makefile
buildlib/configure.mak
buildlib/makefile.in

index 55d7ade..b100118 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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
index fd4010f..2338717 100644 (file)
@@ -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)
index 4a12e7d..cf80864 100644 (file)
@@ -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