From f5371e09c4a06a0993a7d9c302e60717507e70c6 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 18 Aug 2003 22:55:55 +0000 Subject: [PATCH] * modules/stdbool: Add BUILT_SOURCES. Prefer $@ to target name in makefile rules. --- ChangeLog | 5 +++++ modules/stdbool | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 65fbf9213c..efadfbb842 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-08-18 Paul Eggert + + * modules/stdbool: Add BUILT_SOURCES. Prefer $@ to target name + in makefile rules. + 2003-08-17 Simon Josefsson * modules/argp: Fix autoconf macro name. Add more dependencies. diff --git a/modules/stdbool b/modules/stdbool index a63fcb0575..ae5e216345 100644 --- a/modules/stdbool +++ b/modules/stdbool @@ -12,14 +12,15 @@ configure.ac: AM_STDBOOL_H Makefile.am: +BUILT_SOURCES += $(STDBOOL_H) EXTRA_DIST += stdbool_.h # We need the following in order to create an when the system # doesn't have one that works. all-local $(lib_OBJECTS): $(STDBOOL_H) stdbool.h: stdbool_.h - sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h > stdbool.h-t - mv stdbool.h-t stdbool.h + sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h > $@-t + mv $@-t $@ MOSTLYCLEANFILES += stdbool.h stdbool.h-t Include: -- 2.30.2