PageRenderTime 20ms CodeModel.GetById 10ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 0ms

/Makefile.sub

#
Unknown | 91 lines | 80 code | 11 blank | 0 comment | 0 complexity | b66d53dec3c82eead5609752daa07e4f MD5 | raw file
 1##
 2## Include file for automake
 3##
 4## Copyright (C) 2008, 2009 Francesco Salvestrini
 5##
 6## This program is free software; you can redistribute it and/or modify
 7## it under the terms of the GNU General Public License as published by
 8## the Free Software Foundation; either version 2 of the License, or
 9## (at your option) any later version.
10##
11## This program is distributed in the hope that it will be useful,
12## but WITHOUT ANY WARRANTY; without even the implied warranty of
13## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14## GNU General Public License for more details.
15##
16## You should have received a copy of the GNU General Public License along
17## with this program; if not, write to the Free Software Foundation, Inc.,
18## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19##
20
21##
22## NOTE:
23##     Don't use `/' in sed expression(s) since most likely the variables
24##     we're using, such as `$(pkgdatadir)', will contain some of them ...
25
26do_subst_AUTOTOOLS = \
27  -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
28  -e 's,[@]PACKAGE_NAME[@],$(PACKAGE_NAME),g' \
29  -e 's,[@]PACKAGE_BUGREPORT[@],$(PACKAGE_BUGREPORT),g' \
30  -e 's,[@]PACKAGE_VERSION[@],$(PACKAGE_VERSION),g' \
31  -e 's,[@]PACKAGE_URL[@],$(PACKAGE_URL),g' \
32  -e 's,[@]PATH_SEPARATOR[@],$(PATH_SEPARATOR),g' \
33  -e 's,[@]SHELL[@],$(SHELL),g' \
34  \
35  -e 's,[@]bindir[@],$(bindir),g' \
36  -e 's,[@]builddir[@],$(builddir),g' \
37  -e 's,[@]abs_builddir[@],$(abs_builddir),g' \
38  -e 's,[@]abs_top_srcdir[@],$(abs_top_srcdir),g' \
39  -e 's,[@]abs_top_builddir[@],$(abs_top_builddir),g'
40
41do_subst_GENERIC = \
42  -e 's,[@]configure_input[@],Generated from $@.in; do not edit by hand.,g' \
43  -e 's,[@]makefile_input[@],Generated from $@.am; do not edit by hand.,g' \
44  -e 's,[@]VERSION[@],$(VERSION),g' \
45  -e 's,[@]PACKAGE_API[@],$(PACKAGE_API),g' \
46  -e 's,[@]pkgvbindir[@],$(pkgvbindir),g' \
47  -e 's,[@]pkgvlibsdir[@],$(pkgvlibsdir),g' \
48  -e 's,[@]pkgvdatadir[@],$(pkgvdatadir),g'
49
50do_subst_MAINTAINER =
51
52do_subst_SPECIFIC = \
53  -e 's,[@]PERL[@],$(PERL),g' \
54  -e 's,[@]GUILE[@],$(GUILE),g' \
55  -e 's,[@]M4[@],$(M4),g'
56
57do_subst = $(SED) \
58  $(do_subst_AUTOTOOLS) \
59  $(do_subst_GENERIC) \
60  $(do_subst_MAINTAINER) \
61  $(do_subst_SPECIFIC)
62
63DNT_BIN              = $(DNT)
64DNT_DB               = $(top_srcdir)/.dnt.db
65WORDWRAP_DETECT      = $(top_builddir)/tools/maint/wordwrap-detect
66WHITESPACE_DETECT    = $(top_builddir)/tools/maint/whitespace-detect
67FETCH                = $(top_builddir)/tools/maint/fetch
68GITTAG_TO_DATE       = $(top_builddir)/tools/maint/gittag-to-date
69RELEASES_TO_NEWS     = $(top_builddir)/tools/maint/releases-to-news
70GITLOG_TO_COMMITTERS = $(top_builddir)/tools/maint/gitlog-to-committers
71GITLOG_TO_CHANGELOG  = $(top_srcdir)/tools/maint/gitlog-to-changelog
72GIT_VERSION_GEN      = $(top_srcdir)/tools/maint/git-version-gen
73ANNOUNCE_GEN         = $(top_srcdir)/tools/maint/announce-gen
74YAXX_TO_GRAMMAR      = $(top_srcdir)/tools/maint/yaxx-to-grammar
75
76##
77## Maintainer related targets
78##
79maintainer-check: Makefile maintainer-check-local maintainer-check-recursive
80
81maintainer-check-recursive: Makefile
82	@list='$(SUBDIRS)'; for subdir in $$list; do \
83		test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) maintainer-check); \
84	done
85
86update: Makefile update-local update-recursive
87
88update-recursive: Makefile
89	@list='$(SUBDIRS)'; for subdir in $$list; do \
90		test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) update); \
91	done