[gpm] [PATCH 1/18] other-scms.patch

Dmitry Torokhov dtor_core@ameritech.net
Tue Aug 10 08:49:51 CEST 2004


===================================================================


ChangeSet@1.5, 2004-08-10 00:52:33-05:00, dtor_core@ameritech.net
  Spell out subdirectories when generating dependencies so we
  won't pull in files from SCCS directories.


 Makefile.in |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


===================================================================



diff -Nru a/src/Makefile.in b/src/Makefile.in
--- a/src/Makefile.in	2004-08-10 01:17:57 -05:00
+++ b/src/Makefile.in	2004-08-10 01:17:57 -05:00
@@ -92,7 +92,7 @@
 	# cleanup
 	echo "" > "$(DEPFILE)"
 	# create dependencies
-	for DEPS in `echo *.c */*.c`; do \
+	for DEPS in `echo *.c lib/*.c prog/*.c`; do \
 	$(CC) -I. -I $(srcdir) -M @CPPFLAGS@ $(CPPFLAGS) $$DEPS | \
 	$(SED) 's/\($*\)\.o\([ :]*\)/\1.o \1.lo\2/g'  >> $(DEPFILE) ; done
 


More information about the gpm mailing list