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