changeset 114:46e84c72a5da

GNU file utilities
author Jim Meyering <jim@meyering.net>
date Tue, 12 Oct 1993 04:23:05 +0000
parents 1947020d092e
children 7010ad1d3e31
files lib/Makefile.in lib/fnmatch.c lib/makepath.c
diffstat 3 files changed, 10 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -76,7 +76,7 @@
 realclean: distclean
 	rm -f TAGS
 
-dist:
+dist: $(DISTFILES)
 	for file in $(DISTFILES); do \
 	  ln $$file ../`cat ../.fname`/lib \
 	    || cp -p $$file ../`cat ../.fname`/lib; \
@@ -105,6 +105,8 @@
 	mv tposixtm.c posixtm.c
 	rm -f posixtm.tab.c
 
+$(OBJECTS): config.h
+
 backupfile.o getversion.o: backupfile.h
 fnmatch.o: fnmatch.h
 fsusage.o: fsusage.h
--- a/lib/fnmatch.c
+++ b/lib/fnmatch.c
@@ -16,7 +16,14 @@
 Cambridge, MA 02139, USA.  */
 
 #ifdef HAVE_CONFIG_H
+#if defined (CONFIG_BROKETS)
+/* We use <config.h> instead of "config.h" so that a compilation
+   using -I. -I will use ./config.h rather than /config.h
+   (which it would do because it found this file in ).  */
 #include <config.h>
+#else
+#include "config.h"
+#endif
 #endif
 
 #include <errno.h>
--- a/lib/makepath.c
+++ b/lib/makepath.c
@@ -43,17 +43,6 @@
 #endif
 #endif
 
-#ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> instead of "config.h" so that a compilation
-   using -I. -I will use ./config.h rather than /config.h
-   (which it would do because it found this file in ).  */
-#include <config.h>
-#else
-#include "config.h"
-#endif
-#endif
-
 #include <stdio.h>
 #include <sys/types.h>
 #include <sys/stat.h>