1 ## Process this file with automake to produce Makefile.in -*-Makefile-*-
3 SUBDIRS = lib src doc man po tests
4 EXTRA_DIST = Makefile.cfg Makefile.maint GNUmakefile \
5 .kludge-stamp .prev-version THANKS-to-translators THANKStt.in \
6 .x-sc_space_tab .x-sc_sun_os_names \
10 old/fileutils/ChangeLog \
11 old/fileutils/ChangeLog-1997 \
12 old/sh-utils/ChangeLog \
13 old/sh-utils/ChangeLog.0 \
14 old/textutils/ChangeLog \
22 ACLOCAL_AMFLAGS = -I m4
24 # Some tests always need root privileges, others need them only sometimes.
26 cd tests && $(MAKE) $@
29 test -x $(srcdir)/config/install-sh
34 # Just prior to distribution, ...
35 # transform the automake-generated rule that runs `rm -f rm'.
36 # On some systems, that command would fail with a diagnostic like
37 # `rm: cannot unlink `rm': Text file busy' when `.' appears so early
38 # in the shell's search path that running `rm' would run the `rm'
39 # executable in the current directory.
40 # Similarly, adjust the clean-binPROGRAMS rule.
43 s!(rm -f (rm|\$$\(bin_PROGRAMS\)))$$!$$1 > /dev/null 2>&1 || /bin/$$1!
44 .kludge-stamp: $(srcdir)/src/Makefile.in
45 perl -pi -e '$(rm_subst)' $(srcdir)/src/Makefile.in
48 THANKS-to-translators: po/LINGUAS THANKStt.in
50 cat $(srcdir)/THANKStt.in; \
51 for lang in `cat po/LINGUAS`; do \
52 echo http://www.iro.umontreal.ca/contrib/po/HTML/team-$$lang.html; \
54 ) > $@-tmp && mv $@-tmp $@