mirror of
git://git.sv.gnu.org/findutils.git
synced 2026-01-30 21:28:58 +01:00
* .gitmodules: New file; manage gnulib as a submodule. For future compatibility with the "bootstrap" script, keep the gnulib submodule in the gnulib directory (instead of the gnulib-git directory as before). This means we need to find a new directory for the output of gnulib-tool; we will use "gl" for that. * import-gnulib.sh (do_checkout): Replace with do_submodule. (do_submodule): initialise and configure the gnulib module. (main): call do_submodule instead of do_checkout. Don't call move_cvsdir, it's obsolete. (move_cvsdir): delete * Makefile.am (SUBDIRS): Rename gnulib to gl. (ACLOCAL_AMFLAGS): Likewise. (findutils-check-smells): Rename gnulib-git to gnulib. * .gitignore: Rename gnulib to gl.
58 lines
2.1 KiB
Makefile
58 lines
2.1 KiB
Makefile
AUTOMAKE_OPTIONS=gnits
|
|
# readme-alpha
|
|
AM_CFLAGS = $(WARN_CFLAGS)
|
|
|
|
EXTRA_DIST = COPYING ChangeLog TODO config.h.in stamp-h.in \
|
|
THANKS import-gnulib.sh import-gnulib.config \
|
|
tool-versions.txt README-hacking
|
|
DISTCLEANFILES = tool-versions.txt
|
|
|
|
|
|
# "tests" is the gnulib unit test dir.
|
|
SUBDIRS = gl tests build-aux lib find xargs locate doc po m4
|
|
|
|
ACLOCAL_AMFLAGS = -I gl/m4 -I m4
|
|
|
|
TESTFILE_SUFFIXES = .exp .xo .xe .xi
|
|
|
|
tool-versions.txt: Makefile
|
|
( automake --version ; echo ; \
|
|
autoconf --version ; echo ; \
|
|
$(CC) --version ; echo ; \
|
|
m4 --version ; echo ; \
|
|
gettext --version ; echo ; \
|
|
runtest --version ; echo ; \
|
|
makeinfo --version ) > $@
|
|
|
|
|
|
dist-hook: findutils-check-pofiles findutils-check-testfiles
|
|
|
|
|
|
## Check that we actually shipped all the .po files. If this rule fails,
|
|
## check ALL_LINGUAS in configure.in against the po files in the source
|
|
## directory (their names, not their contents)
|
|
findutils-check-pofiles:
|
|
@echo ; echo Checking to see if we distributed the full set of .po files
|
|
distcount=`ls $(distdir)/po/*.po | wc -l` ; srccount=`ls $(srcdir)/po/*.po | wc -l` ; test $$distcount -eq $$srccount || ( echo FAILED: Please check the value of ALL_LINGUAS in configure.in against the actual set of ".po" files >&2 ; false )
|
|
@echo All .po files distributed OK.
|
|
|
|
## Check that we actually shipped all the test files that exist in the source.
|
|
## runtest will run all the .exp files it finds, and so if we don't ship all
|
|
## of them, there will be some tests which people using the CVS code will be
|
|
## running, but people using the source distribution will not.
|
|
findutils-check-testfiles:
|
|
@echo
|
|
$(AUXDIR)/check-testfiles.sh "$(distdir)" "$(srcdir)" $(TESTFILE_SUFFIXES)
|
|
|
|
|
|
findutils-check-smells:
|
|
find $(srcdir) \( -path $(srcdir)/autom4te.cache -o \
|
|
-path $(srcdir)/gnulib -o \
|
|
-name .git -o \
|
|
\( -type d -name CVS \) \
|
|
\) -prune -o \
|
|
\( -type f -o -type l \) \
|
|
\! \( -name '*~' -o -name '*.xo' -o -name '*.xi' \) \
|
|
-print0 | \
|
|
xargs -0 python $(AUXDIR)/src-sniff.py
|