00db10
commit ad98e30c90f518cbcd896b1fe9e45f2318102db3
00db10
Author: Roland McGrath <roland@hack.frob.com>
00db10
Date:   Wed Jan 9 16:05:32 2013 -0800
00db10
00db10
    Force getconf.speclist to be generated in the others pass.
00db10
00db10
diff --git a/posix/Makefile b/posix/Makefile
00db10
index 1883b71957665f22..a68f0b7d041e65bd 100644
00db10
--- a/posix/Makefile
00db10
+++ b/posix/Makefile
00db10
@@ -284,3 +284,8 @@ $(objpfx)getconf.speclist: getconf-speclist.c posix-envs.def
00db10
 	$(compile.c) -E -o - \
00db10
 	    | sed -n -e '/@@@PRESENT_/s/@@@PRESENT_//p' > $@.new
00db10
 	mv -f $@.new $@
00db10
+
00db10
+# This file is only actually needed at install time.  But forcing it to
00db10
+# be built both makes it available for eyeball inspection and avoids the
00db10
+# surprise of things that look like compilation being done by 'make install'.
00db10
+others: $(objpfx)getconf.speclist