summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-07-17 22:27:44 +0000
committerJim Meyering <jim@meyering.net>2003-07-17 22:27:44 +0000
commit3497dfc9c1403eece9b3badbf5936195ee943bf9 (patch)
tree2c3a0803df064907f499b4d6b628ef074b78f454
parent2d7fe7786b8419821ce111bb4181f66d231464f9 (diff)
downloadcoreutils-3497dfc9c1403eece9b3badbf5936195ee943bf9.tar.xz
.
-rw-r--r--lib/Makefile.in2
-rw-r--r--src/Makefile.in4
-rw-r--r--tests/Makefile.in8
3 files changed, 10 insertions, 4 deletions
diff --git a/lib/Makefile.in b/lib/Makefile.in
index f1e6286e4..79644d61d 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -156,7 +156,7 @@ target_alias = @target_alias@
noinst_LIBRARIES = libfetish.a
-INCLUDES = -I.. -I$(srcdir)
+AM_CPPFLAGS = -I.. -I$(srcdir)
libfetish_a_SOURCES = \
acl.h acl.c \
diff --git a/src/Makefile.in b/src/Makefile.in
index 2c8f3f564..565a9389b 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -182,7 +182,7 @@ EXTRA_DIST = dcgen dircolors.hin tac-pipe.c \
CLEANFILES = $(SCRIPTS) su
-INCLUDES = -I.. -I$(srcdir) -I$(top_srcdir)/lib -I../lib
+AM_CPPFLAGS = -I.. -I$(srcdir) -I$(top_srcdir)/lib -I../lib
# Sometimes, the expansion of $(LIBINTL) includes -lc which may
# include modules defining variables like `optind', so libfetish.a
@@ -866,7 +866,7 @@ uninstall-binPROGRAMS:
done
clean-binPROGRAMS:
- -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) > /dev/null 2>&1 || /bin/rm -f $(bin_PROGRAMS)
+ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
installcheck-binPROGRAMS: $(bin_PROGRAMS)
bad=0; pid=$$$$; list="$(bin_PROGRAMS)"; for p in $$list; do \
diff --git a/tests/Makefile.in b/tests/Makefile.in
index efd580a41..f7f286145 100644
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -151,9 +151,15 @@ sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
+all_programs = \
+ echo 'spy:;@echo $$(all_programs)' \
+ | MAKEFLAGS= $(MAKE) -s -C $(srcdir)/../src -f Makefile -f - spy \
+ | fmt -1 | sort -u
+
+
TESTS = help-version
TESTS_ENVIRONMENT = \
- all_programs="$(bin_SCRIPTS) $(bin_PROGRAMS)"
+ all_programs="`$(all_programs)`"
EXTRA_DIST = \