From a2dae438074b0a7905bef92dec68de5b924f1bc9 Mon Sep 17 00:00:00 2001 From: Adam Heath Date: Sun, 19 May 2002 09:08:38 +0000 Subject: [PATCH] Fix targets, so that if configure fails, but actually succeeds in creating config.status(as might happen if one has a c-style comment in configure.in, and the shell trys running /foo), then the build will actually fail correctly. --- ChangeLog | 7 +++++++ debian/rules | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9f9533a9..46159c2a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Sun May 19 04:09:25 CDT 2002 Adam Heath + + * debian/rules: Fix targets, so that if configure fails, but actually + succeeds in creating config.status(as might happen if one has a + c-style comment in configure.in, and the shell trys running /foo), then + the build will actually fail correctly. + Sun May 19 02:31:11 CDT 2002 Adam Heath * acconfig.h: Oops. Forgot to add #undef HAVE_GNUC25_UNUSED. diff --git a/debian/rules b/debian/rules index 1def05c9..85314efa 100755 --- a/debian/rules +++ b/debian/rules @@ -25,7 +25,7 @@ endif BUILD-DIRS := $(BUILD) $(BUILD)-static # Setup the buildlocation -$(BUILD)/config.status: +$(BUILD)/configure-stamp: $(checkdir) install -d $(@D) cd $(@D) && LDFLAGS=$(LDFLAGS) $(DIR)/configure \ @@ -40,6 +40,7 @@ $(BUILD)/config.status: --with-zlib=static \ --with-static-progs \ $(config_arg) + touch $@ clean: $(checkdir) @@ -51,7 +52,7 @@ clean: build: stamp-build -stamp-build: $(BUILD)/config.status +stamp-build: $(BUILD)/configure-stamp $(MAKE) $(MFLAGS) -C $(BUILD) # touch $@ -- 2.39.5