/Makefile.sub
Unknown | 91 lines | 80 code | 11 blank | 0 comment | 0 complexity | b66d53dec3c82eead5609752daa07e4f MD5 | raw file
Possible License(s): GPL-2.0
- ##
- ## 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,[@]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 $@.in; do not edit by hand.,g' \
- -e 's,[@]makefile_input[@],Generated from $@.am; 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,[@]GUILE[@],$(GUILE),g' \
- -e 's,[@]M4[@],$(M4),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
- YAXX_TO_GRAMMAR = $(top_srcdir)/tools/maint/yaxx-to-grammar
- ##
- ## 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