(linenum→info "unix/slp.c:2238")

coreutils/6.9/Makefile.am

    1: # Make coreutils.                                       -*-Makefile-*-
    2: 
    3: # Copyright (C) 1990, 1993-2007 Free Software Foundation, Inc.
    4: 
    5: # This program is free software; you can redistribute it and/or modify
    6: # it under the terms of the GNU General Public License as published by
    7: # the Free Software Foundation; either version 2 of the License, or
    8: # (at your option) any later version.
    9: 
   10: # This program is distributed in the hope that it will be useful,
   11: # but WITHOUT ANY WARRANTY; without even the implied warranty of
   12: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13: # GNU General Public License for more details.
   14: 
   15: # You should have received a copy of the GNU General Public License
   16: # along with this program; if not, write to the Free Software
   17: # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
   18: # 02110-1301, USA.
   19: 
   20: SUBDIRS = lib src doc man po tests
   21: EXTRA_DIST = Makefile.cfg Makefile.maint GNUmakefile \
   22:   .gitignore \
   23:   .hgignore \
   24:   .kludge-stamp .prev-version THANKS-to-translators THANKStt.in \
   25:   .vg-suppressions \
   26:   .x-po-check \
   27:   .x-sc_file_system .x-sc_obsolete_symbols \
   28:   .x-sc_prohibit_atoi_atof \
   29:   .x-sc_require_config_h \
   30:   .x-sc_space_tab .x-sc_sun_os_names \
   31:   .x-sc_trailing_blank \
   32:   .x-sc_unmarked_diagnostics \
   33:   .x-sc_useless_cpp_parens \
   34:   ChangeLog-2005 \
   35:   bootstrap \
   36:   bootstrap.conf \
   37:   build-aux/cvsu \
   38:   build-aux/vc-list-files \
   39:   gl/modules/getloadavg.diff \
   40:   m4/ChangeLog \
   41:   old/fileutils/ChangeLog \
   42:   old/fileutils/ChangeLog-1997 \
   43:   old/fileutils/NEWS \
   44:   old/sh-utils/ChangeLog \
   45:   old/sh-utils/ChangeLog.0 \
   46:   old/sh-utils/NEWS \
   47:   old/textutils/ChangeLog \
   48:   old/textutils/NEWS
   49: 
   50: install-root:
   51:         cd src && $(MAKE) $@
   52: 
   53: ACLOCAL_AMFLAGS = -I m4
   54: 
   55: # Some tests always need root privileges, others need them only sometimes.
   56: check-root:
   57:         cd tests && $(MAKE) $@
   58: 
   59: dist-hook:
   60:         test -x $(srcdir)/build-aux/install-sh
   61: 
   62: distcheck-hook:
   63:         $(MAKE) my-distcheck
   64: 
   65: # Just prior to distribution, ...
   66: # transform the automake-generated rule that runs `rm -f rm'.
   67: # On some systems, that command would fail with a diagnostic like
   68: # `rm: cannot unlink `rm': Text file busy' when `.' appears so early
   69: # in the shell's search path that running `rm' would run the `rm'
   70: # executable in the current directory.
   71: # Similarly, adjust the clean-binPROGRAMS rule.
   72: 
   73: rm_subst = \
   74:   s!(rm -f (rm|\$$\(bin_PROGRAMS\)))$$!$$1 > /dev/null 2>&1 || /bin/$$1!
   75: MAINTAINERCLEANFILES = .kludge-stamp
   76: .kludge-stamp: $(srcdir)/src/Makefile.in
   77:         perl -pi -e '$(rm_subst)' $(srcdir)/src/Makefile.in
   78:         touch $@
   79: 
   80: 
   81: MAINTAINERCLEANFILES += THANKS-to-translators
   82: THANKS-to-translators: po/LINGUAS THANKStt.in
   83:         (                                                              \
   84:           cat $(srcdir)/THANKStt.in;                                   \
   85:           for lang in `cat $(srcdir)/po/LINGUAS`; do                           \
   86:             echo http://www.iro.umontreal.ca/contrib/po/HTML/team-$$lang.html; \
   87:           done;                                                                \
   88:         ) > $@-tmp && mv $@-tmp
Syntax (Markdown)