mirror of
https://github.com/mirror/make.git
synced 2025-01-27 12:51:07 +08: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
1
.gitignore
vendored
1
.gitignore
vendored
@ -17,6 +17,7 @@ GTAGS
|
|||||||
*.rej
|
*.rej
|
||||||
|
|
||||||
# Configure artifacts
|
# Configure artifacts
|
||||||
|
/lib/
|
||||||
ABOUT-NLS
|
ABOUT-NLS
|
||||||
INSTALL
|
INSTALL
|
||||||
Makefile
|
Makefile
|
||||||
|
@ -2,6 +2,11 @@ Description:
|
|||||||
GNU make version of fnmatch()/glob() functions. This is a holdover from
|
GNU make version of fnmatch()/glob() functions. This is a holdover from
|
||||||
a very old version of the globbing library.
|
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:
|
configure.ac:
|
||||||
# Check the system to see if it provides GNU glob. If not, use our
|
# 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"
|
USE_SYSTEM_GLOB="$make_cv_sys_gnu_glob"
|
||||||
AC_SUBST([USE_SYSTEM_GLOB])
|
AC_SUBST([USE_SYSTEM_GLOB])
|
||||||
|
|
||||||
|
|
||||||
Makefile.am:
|
Makefile.am:
|
||||||
if !USE_SYSTEM_GLOB
|
if !USE_SYSTEM_GLOB
|
||||||
libgnu_a_SOURCES += fnmatch.c
|
libgnu_a_SOURCES += fnmatch.c
|
||||||
@ -60,7 +64,6 @@ endif
|
|||||||
|
|
||||||
EXTRA_DIST += fnmatch.in.h glob.in.h
|
EXTRA_DIST += fnmatch.in.h glob.in.h
|
||||||
|
|
||||||
|
|
||||||
Include:
|
Include:
|
||||||
<glob.h>
|
<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 New Issue
Block a user