PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 5ms RepoModel.GetById 2ms app.codeStats 0ms

/Makefile.am

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