Explorar el Código

Fixed make woops
Author: jgg
Date: 1998-11-06 03:10:24 GMT
Fixed make woops

Arch Librarian hace 22 años
padre
commit
53da8d703e
Se han modificado 3 ficheros con 12 adiciones y 10 borrados
  1. 2 2
      Makefile
  2. 8 8
      buildlib/configure.mak
  3. 2 0
      buildlib/makefile.in

+ 2 - 2
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

+ 8 - 8
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)

+ 2 - 0
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