mirror of
git://git.sv.gnu.org/findutils.git
synced 2026-02-01 06:08:59 +01:00
* import-gnulib.config (modules): Import the gnulib module parse-datetime instead of the obsolete module getdate. (gnulib_version): Update to the current version of gnulib. * find/parser.c: Include parse-datetime.h instead of getdate.h. * doc/find.texi: Include parse-datetime.texi instead of getdate.texi. * doc/Makefile.am (find_TEXINFOS): Use parse-datetime.texi instead of getdate.texi. * configure.ac: Update to gettext 0.18.1. * po/Rules-quot: Update this file from gettext.
56 lines
1.9 KiB
Makefile
56 lines
1.9 KiB
Makefile
AM_CFLAGS = $(WARN_CFLAGS)
|
|
|
|
info_TEXINFOS = find.texi find-maint.texi
|
|
find_TEXINFOS = perm.texi parse-datetime.texi regexprops.texi fdl.texi
|
|
find_maint_TEXINFOS = fdl.texi
|
|
MOSTLYCLEANFILES = find.cps
|
|
CLEANFILES = find.txt find_mono.html findutils.texi_html_node.tar.gz
|
|
|
|
MAKEINFOTXT = $(MAKEINFO) --plaintext
|
|
|
|
find.txt: find.texi $(srcdir)/version.texi $(find_TEXINFOS)
|
|
|
|
# find.txt is a file which we need to know how to build
|
|
# because it gets put on the www.gnu.org website.
|
|
# This rule is derived from the .texi.html rule.
|
|
.texi.txt:
|
|
rm -rf $(@:.txt=.tmp)
|
|
if $(MAKEINFOTXT) $(AM_MAKEINFOTXTFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
|
|
-o $(@:.txt=.tmp) $<; \
|
|
then \
|
|
rm -rf $@; \
|
|
if test ! -d $(@:.txt=.tmp) && test -d $(@:.txt=); then \
|
|
mv $(@:.txt=) $@; else mv $(@:.txt=.tmp) $@; fi; \
|
|
else \
|
|
if test ! -d $(@:.txt=.tmp) && test -d $(@:.txt=); then \
|
|
rm -rf $(@:.txt=); else rm -Rf $(@:.txt=.tmp) $@; fi; \
|
|
exit 1; \
|
|
fi
|
|
|
|
|
|
# find_mono.html is a file which we need to know how to build
|
|
# because it gets put on the www.gnu.org website.
|
|
# This rule is derived from the generic .texi.html rule.
|
|
find_mono.html: find.texi
|
|
rm -rf $(@:.html=.htp)
|
|
if $(MAKEINFOHTML) --no-split $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
|
|
-o $(@:.html=.htp) $<; \
|
|
then \
|
|
rm -rf $@; \
|
|
if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
|
|
mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \
|
|
else \
|
|
if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
|
|
rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
|
|
exit 1; \
|
|
fi
|
|
|
|
|
|
# findutils.texi_html_node.tar.gz is a file which we need to know
|
|
# how to build because it gets put on the www.gnu.org website.
|
|
# This rule depends on GNU tar, but it's principally used
|
|
# by the maintainer, and we don't need to build the file
|
|
# for "make all" or "make install" (or even "make check").
|
|
findutils.texi_html_node.tar.gz: find.html
|
|
tar zcf $@ $<
|