PageRenderTime 42ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/Makefile.sub

#
Unknown | 91 lines | 80 code | 11 blank | 0 comment | 0 complexity | b66d53dec3c82eead5609752daa07e4f MD5 | raw file
Possible License(s): GPL-2.0
  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. ## NOTE:
  22. ## Don't use `/' in sed expression(s) since most likely the variables
  23. ## we're using, such as `$(pkgdatadir)', will contain some of them ...
  24. do_subst_AUTOTOOLS = \
  25. -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
  26. -e 's,[@]PACKAGE_NAME[@],$(PACKAGE_NAME),g' \
  27. -e 's,[@]PACKAGE_BUGREPORT[@],$(PACKAGE_BUGREPORT),g' \
  28. -e 's,[@]PACKAGE_VERSION[@],$(PACKAGE_VERSION),g' \
  29. -e 's,[@]PACKAGE_URL[@],$(PACKAGE_URL),g' \
  30. -e 's,[@]PATH_SEPARATOR[@],$(PATH_SEPARATOR),g' \
  31. -e 's,[@]SHELL[@],$(SHELL),g' \
  32. \
  33. -e 's,[@]bindir[@],$(bindir),g' \
  34. -e 's,[@]builddir[@],$(builddir),g' \
  35. -e 's,[@]abs_builddir[@],$(abs_builddir),g' \
  36. -e 's,[@]abs_top_srcdir[@],$(abs_top_srcdir),g' \
  37. -e 's,[@]abs_top_builddir[@],$(abs_top_builddir),g'
  38. do_subst_GENERIC = \
  39. -e 's,[@]configure_input[@],Generated from $@.in; do not edit by hand.,g' \
  40. -e 's,[@]makefile_input[@],Generated from $@.am; do not edit by hand.,g' \
  41. -e 's,[@]VERSION[@],$(VERSION),g' \
  42. -e 's,[@]PACKAGE_API[@],$(PACKAGE_API),g' \
  43. -e 's,[@]pkgvbindir[@],$(pkgvbindir),g' \
  44. -e 's,[@]pkgvlibsdir[@],$(pkgvlibsdir),g' \
  45. -e 's,[@]pkgvdatadir[@],$(pkgvdatadir),g'
  46. do_subst_MAINTAINER =
  47. do_subst_SPECIFIC = \
  48. -e 's,[@]PERL[@],$(PERL),g' \
  49. -e 's,[@]GUILE[@],$(GUILE),g' \
  50. -e 's,[@]M4[@],$(M4),g'
  51. do_subst = $(SED) \
  52. $(do_subst_AUTOTOOLS) \
  53. $(do_subst_GENERIC) \
  54. $(do_subst_MAINTAINER) \
  55. $(do_subst_SPECIFIC)
  56. DNT_BIN = $(DNT)
  57. DNT_DB = $(top_srcdir)/.dnt.db
  58. WORDWRAP_DETECT = $(top_builddir)/tools/maint/wordwrap-detect
  59. WHITESPACE_DETECT = $(top_builddir)/tools/maint/whitespace-detect
  60. FETCH = $(top_builddir)/tools/maint/fetch
  61. GITTAG_TO_DATE = $(top_builddir)/tools/maint/gittag-to-date
  62. RELEASES_TO_NEWS = $(top_builddir)/tools/maint/releases-to-news
  63. GITLOG_TO_COMMITTERS = $(top_builddir)/tools/maint/gitlog-to-committers
  64. GITLOG_TO_CHANGELOG = $(top_srcdir)/tools/maint/gitlog-to-changelog
  65. GIT_VERSION_GEN = $(top_srcdir)/tools/maint/git-version-gen
  66. ANNOUNCE_GEN = $(top_srcdir)/tools/maint/announce-gen
  67. YAXX_TO_GRAMMAR = $(top_srcdir)/tools/maint/yaxx-to-grammar
  68. ##
  69. ## Maintainer related targets
  70. ##
  71. maintainer-check: Makefile maintainer-check-local maintainer-check-recursive
  72. maintainer-check-recursive: Makefile
  73. @list='$(SUBDIRS)'; for subdir in $$list; do \
  74. test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) maintainer-check); \
  75. done
  76. update: Makefile update-local update-recursive
  77. update-recursive: Makefile
  78. @list='$(SUBDIRS)'; for subdir in $$list; do \
  79. test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) update); \
  80. done