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 \
6 .kludge-stamp .prev-version THANKS-to-translators THANKStt.in \
9 .x-sc_space_tab .x-sc_sun_os_names \
10 .x-sc_file_system .x-sc_obsolete_symbols \
11 .x-sc_unmarked_diagnostics \
12 .x-sc_useless_cpp_parens \
13 .x-sc_no_if_have_config_h \
14 .x-sc_require_config_h \
15 .x-sc_prohibit_assert_without_use \
16 .x-sc_prohibit_atoi_atof \
17 .x-sc_trailing_blank \
18 .x-sc_two_space_separator_in_usage \
23 old/fileutils/ChangeLog \
24 old/fileutils/ChangeLog-1997 \
25 old/sh-utils/ChangeLog \
26 old/sh-utils/ChangeLog.0 \
27 old/textutils/ChangeLog \
35 ACLOCAL_AMFLAGS = -I m4
37 # Some tests always need root privileges, others need them only sometimes.
39 cd tests && $(MAKE) $@
42 test -x $(srcdir)/build-aux/install-sh
47 # Just prior to distribution, ...
48 # transform the automake-generated rule that runs `rm -f rm'.
49 # On some systems, that command would fail with a diagnostic like
50 # `rm: cannot unlink `rm': Text file busy' when `.' appears so early
51 # in the shell's search path that running `rm' would run the `rm'
52 # executable in the current directory.
53 # Similarly, adjust the clean-binPROGRAMS rule.
56 s!(rm -f (rm|\$$\(bin_PROGRAMS\)))$$!$$1 > /dev/null 2>&1 || /bin/$$1!
57 .kludge-stamp: $(srcdir)/src/Makefile.in
58 perl -pi -e '$(rm_subst)' $(srcdir)/src/Makefile.in
62 MAINTAINERCLEANFILES = THANKS-to-translators
63 THANKS-to-translators: po/LINGUAS THANKStt.in
65 cat $(srcdir)/THANKStt.in; \
66 for lang in `cat po/LINGUAS`; do \
67 echo http://www.iro.umontreal.ca/contrib/po/HTML/team-$$lang.html; \
69 ) > $@-tmp && mv $@-tmp $@