"Fossies" - the Fresh Open Source Software Archive

Member "automake-1.16.3/doc/local.mk" (19 Nov 2020, 5202 Bytes) of package /linux/misc/automake-1.16.3.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Make source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "local.mk": 1.16.2_vs_1.16.3.

    1 ## -*- makefile-automake -*-
    2 ## Copyright (C) 1995-2020 Free Software Foundation, Inc.
    3 ##
    4 ## This program is free software; you can redistribute it and/or modify
    5 ## it under the terms of the GNU General Public License as published by
    6 ## the Free Software Foundation; either version 2, or (at your option)
    7 ## any later version.
    8 ##
    9 ## This program is distributed in the hope that it will be useful,
   10 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
   11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   12 ## GNU General Public License for more details.
   13 ##
   14 ## You should have received a copy of the GNU General Public License
   15 ## along with this program.  If not, see <https://www.gnu.org/licenses/>.
   16 
   17 ## ---------------- ##
   18 ##  Documentation.  ##
   19 ## ---------------- ##
   20 
   21 info_TEXINFOS = %D%/automake.texi %D%/automake-history.texi
   22 doc_automake_TEXINFOS = %D%/fdl.texi
   23 doc_automake_history_TEXINFOS = %D%/fdl.texi
   24 
   25 man1_MANS = \
   26   %D%/aclocal.1 \
   27   %D%/automake.1 \
   28   %D%/aclocal-$(APIVERSION).1 \
   29   %D%/automake-$(APIVERSION).1
   30 
   31 $(man1_MANS): $(top_srcdir)/configure.ac
   32 
   33 CLEANFILES += $(man1_MANS)
   34 # XXX: This script should be updated with 'fetch' target.
   35 EXTRA_DIST += %D%/help2man
   36 
   37 update_mans = \
   38   $(AM_V_GEN): \
   39     && $(MKDIR_P) %D% \
   40     && ./pre-inst-env $(PERL) $(srcdir)/%D%/help2man --output=$@
   41 
   42 %D%/aclocal.1 %D%/automake.1:
   43     $(AM_V_GEN): \
   44       && $(MKDIR_P) %D% \
   45       && f=`echo $@ | sed 's|.*/||; s|\.1$$||; $(transform)'` \
   46       && echo ".so man1/$$f-$(APIVERSION).1" > $@
   47 
   48 %D%/aclocal-$(APIVERSION).1: $(aclocal_script) lib/Automake/Config.pm
   49     $(update_mans) aclocal-$(APIVERSION)
   50 %D%/automake-$(APIVERSION).1: $(automake_script) lib/Automake/Config.pm
   51     $(update_mans) automake-$(APIVERSION)
   52 
   53 ## This target is not invoked as a dependency of anything. It exists
   54 ## merely to make checking the links in automake.texi (that is,
   55 ## automake.html) more convenient. We use a slightly-enhanced version of
   56 ## W3C checklink to do this. We intentionally do not have automake.html
   57 ## as a dependency, as it seems more convenient to have its regeneration
   58 ## under manual control. See https://debbugs.gnu.org/10371.
   59 ##
   60 checklinkx = $(top_srcdir)/contrib/checklinkx
   61 # that 4-second sleep seems to be what gnu.org likes.
   62 chlx_args = -v --sleep 8 #--exclude-url-file=/tmp/xf
   63 # Explanation of excludes:
   64 # - w3.org dtds, they are fine (and slow).
   65 # - mailto urls, they are always forbidden.
   66 # - vala, redirects to a Gnome subpage and returns 403 to us.
   67 # - cfortran, forbidden by site's robots.txt.
   68 # - search.cpan.org, gets 
   69 # - debbugs.gnu.org/automake, forbidden by robots.txt.
   70 # - autoconf.html, forbidden by robots.txt (since served from savannah).
   71 # - https://fsf.org redirects to https://www.fsf.org and nothing to do
   72 #   (it's in the FDL).  --suppress-redirect options do not suppress the msg.
   73 #
   74 chlx_excludes = \
   75     -X 'http.*w3\.org/.*dtd' \
   76     -X 'mailto:.*' \
   77     -X 'https://www\.vala-project\.org/' \
   78     -X 'https://www-zeus\.desy\.de/~burow/cfortran/' \
   79     -X 'http://xsearch\.cpan\.org/~mschwern/Test-Simple/lib/Test/More\.pm' \
   80     -X 'https://debbugs\.gnu\.org/automake' \
   81     -X 'https://www\.gnu\.org/software/autoconf/manual/autoconf\.html' \
   82     -X 'https://fsf\.org/'
   83 chlx_file = $(top_srcdir)/doc/automake.html
   84 .PHONY: checklinkx
   85 checklinkx:
   86     $(checklinkx) $(chlx_args) $(chlx_excludes) $(chlx_file)
   87 
   88 ## ---------------------------- ##
   89 ##  Example package "amhello".  ##
   90 ## ---------------------------- ##
   91 
   92 amhello_sources = \
   93   %D%/amhello/configure.ac \
   94   %D%/amhello/Makefile.am \
   95   %D%/amhello/README \
   96   %D%/amhello/src/main.c \
   97   %D%/amhello/src/Makefile.am
   98 
   99 amhello_configury = \
  100   aclocal.m4 \
  101   autom4te.cache \
  102   Makefile.in \
  103   config.h.in \
  104   configure \
  105   depcomp \
  106   install-sh \
  107   missing \
  108   src/Makefile.in
  109 
  110 dist_noinst_DATA += $(amhello_sources)
  111 dist_doc_DATA = $(srcdir)/%D%/amhello-1.0.tar.gz
  112 
  113 setup_autotools_paths = { \
  114   ACLOCAL=aclocal-$(APIVERSION) && export ACLOCAL \
  115     && AUTOMAKE=automake-$(APIVERSION) && export AUTOMAKE \
  116     && AUTOCONF='$(am_AUTOCONF)' && export AUTOCONF \
  117     && AUTOM4TE='$(am_AUTOM4TE)' && export AUTOM4TE \
  118     && AUTORECONF='$(am_AUTORECONF)' && export AUTORECONF \
  119     && AUTOHEADER='$(am_AUTOHEADER)' && export AUTOHEADER \
  120     && AUTOUPDATE='$(am_AUTOUPDATE)' && export AUTOUPDATE \
  121     && true; \
  122 }
  123 
  124 # We depend on configure.ac so that we regenerate the tarball
  125 # whenever the Automake version changes.
  126 $(srcdir)/%D%/amhello-1.0.tar.gz: $(amhello_sources) $(srcdir)/configure.ac
  127     $(AM_V_GEN)tmp=amhello-output.tmp \
  128       && $(am__cd) $(srcdir)/%D%/amhello \
  129       && : Make our aclocal and automake avaiable before system ones. \
  130       && $(setup_autotools_paths) \
  131       && ( \
  132         { $(AM_V_P) || exec 5>&2 >$$tmp 2>&1; } \
  133           && $(abs_builddir)/pre-inst-env $(am_AUTORECONF) -vfi \
  134           && ./configure \
  135           && $(MAKE) $(AM_MAKEFLAGS) distcheck \
  136           && $(MAKE) $(AM_MAKEFLAGS) distclean \
  137           || { \
  138             if $(AM_V_P); then :; else \
  139               echo "$@: recipe failed." >&5; \
  140               echo "See file '`pwd`/$$tmp' for details" >&5; \
  141         fi; \
  142             exit 1; \
  143           } \
  144       ) \
  145       && rm -rf $(amhello_configury) $$tmp \
  146       && mv -f amhello-1.0.tar.gz ..
  147 
  148 
  149 # vim: ft=automake noet