PageRenderTime 41ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/Makefile.am

#
Makefile | 85 lines | 40 code | 13 blank | 32 comment | 8 complexity | 48301eeec3bc9319ae826aafe4248cc2 MD5 | raw file
Possible License(s): GPL-2.0
  1. ##
  2. ## Input 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. include $(top_srcdir)/Makefile.sub
  21. EXTRA_DIST =
  22. BUILT_SOURCES =
  23. CLEANFILES =
  24. MAINTAINERCLEANFILES =
  25. include $(top_srcdir)/Makefile.top
  26. ACLOCAL_AMFLAGS = -I tools/autotools/m4 --install
  27. SUBDIRS = \
  28. tools \
  29. libs \
  30. src \
  31. tests \
  32. docs \
  33. site
  34. ##
  35. ## NOTE:
  36. ## Options listed in AUTOMAKE_OPTIONS variable are applied on a
  37. ## per-`Makefile' basis.
  38. ##
  39. AUTOMAKE_OPTIONS = check-news
  40. ##
  41. ## NOTE:
  42. ## Makefile.am included files are automatically distributed by automake
  43. ## rules
  44. ##
  45. EXTRA_DIST += \
  46. README COPYING INSTALL THANKS \
  47. bootstrap .bootstrap \
  48. guile.af \
  49. perl.af
  50. ##
  51. ## Maintainer related targets
  52. ##
  53. site: all
  54. (cd site && $(MAKE) $(AM_MAKEFLAGS) site)
  55. URL_BU = "http://github.com/salvestrini/build-utils/raw/master/maint"
  56. EXTERNAL = \
  57. $(URL_BU)/bootstrap
  58. update-local: Makefile
  59. rm -r -f fetch-dir && \
  60. mkdir fetch-dir && \
  61. for i in $(EXTERNAL) ; do \
  62. URL="$$i" ; \
  63. NAME=`echo "$$i" | $(SED) -e 's,^.*/,,'` ; \
  64. $(FETCH) $$URL?raw=true fetch-dir/$$NAME && \
  65. mv fetch-dir/$$NAME $$NAME || { \
  66. rm -f fetch-dir/$$NAME ; \
  67. exit 1 ; \
  68. } \
  69. done && \
  70. rm -r -f fetch-dir
  71. chmod a+x bootstrap || { exit 1 ; }
  72. maintainer-check-local: Makefile