diff --git a/.gitignore b/.gitignore index f548779f..ef5292f9 100644 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,7 @@ GTAGS *.rej # Configure artifacts +/lib/ ABOUT-NLS INSTALL Makefile diff --git a/lib/fnmatch.c b/gl/lib/fnmatch.c similarity index 100% rename from lib/fnmatch.c rename to gl/lib/fnmatch.c diff --git a/lib/fnmatch.in.h b/gl/lib/fnmatch.in.h similarity index 100% rename from lib/fnmatch.in.h rename to gl/lib/fnmatch.in.h diff --git a/lib/glob.c b/gl/lib/glob.c similarity index 100% rename from lib/glob.c rename to gl/lib/glob.c diff --git a/lib/glob.in.h b/gl/lib/glob.in.h similarity index 100% rename from lib/glob.in.h rename to gl/lib/glob.in.h diff --git a/gl/modules/make-glob b/gl/modules/make-glob index bf5a1d92..d9a34d33 100644 --- a/gl/modules/make-glob +++ b/gl/modules/make-glob @@ -2,6 +2,11 @@ Description: GNU make version of fnmatch()/glob() functions. This is a holdover from a very old version of the globbing library. +Files: +lib/fnmatch.c +lib/fnmatch.in.h +lib/glob.c +lib/glob.in.h configure.ac: # Check the system to see if it provides GNU glob. If not, use our @@ -28,7 +33,6 @@ AM_CONDITIONAL([USE_SYSTEM_GLOB], [test "$make_cv_sys_gnu_glob" = yes]) USE_SYSTEM_GLOB="$make_cv_sys_gnu_glob" AC_SUBST([USE_SYSTEM_GLOB]) - Makefile.am: if !USE_SYSTEM_GLOB libgnu_a_SOURCES += fnmatch.c @@ -60,7 +64,6 @@ endif EXTRA_DIST += fnmatch.in.h glob.in.h - Include: diff --git a/lib/.gitignore b/lib/.gitignore deleted file mode 100644 index cb391c43..00000000 --- a/lib/.gitignore +++ /dev/null @@ -1,11 +0,0 @@ -* -!/.gitignore - -!/fnmatch.c -!/fnmatch.in.h -/fnmatch.h - -!/glob.c -!/glob.in.h -/glob.h -