mirror of
https://git.savannah.gnu.org/git/make.git
synced 2024-12-24 12:58:39 +00:00
Move our fnmatch/glob implementation into gl/lib
The gl subdirectory contains our local versions of gnulib module implementations, so move fnmatch* and glob* from lib to gl/lib. * gl/modules/make-glob: Add a proper Files: section. * lib/.gitignore: Delete unnecessary ignore file: lib is empty. * .gitignore: Add lib/ as an ignored directory.
This commit is contained in:
parent
2d7b5d6d80
commit
5c1d9e54c7
7 changed files with 6 additions and 13 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -17,6 +17,7 @@ GTAGS
|
|||
*.rej
|
||||
|
||||
# Configure artifacts
|
||||
/lib/
|
||||
ABOUT-NLS
|
||||
INSTALL
|
||||
Makefile
|
||||
|
|
|
@ -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:
|
||||
<glob.h>
|
||||
|
||||
|
|
11
lib/.gitignore
vendored
11
lib/.gitignore
vendored
|
@ -1,11 +0,0 @@
|
|||
*
|
||||
!/.gitignore
|
||||
|
||||
!/fnmatch.c
|
||||
!/fnmatch.in.h
|
||||
/fnmatch.h
|
||||
|
||||
!/glob.c
|
||||
!/glob.in.h
|
||||
/glob.h
|
||||
|
Loading…
Reference in a new issue