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