Updated configure.ac.in in order to be more permissive
[distributed.git] / Makefile.am
blob75b53229220c84af304b8606a9a8e16b865218ce
1 ##
2 ## Input file for automake
3 ##
4 ## Copyright (C) 2008 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.
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.
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.
21 ACLOCAL_AMFLAGS = -I tools/autotools/m4
23 include $(top_srcdir)/Makefile.maint
25 SUBDIRS =                                       \
26         tools                                   \
27         .                                       \
28         src                                     \
29         docs
32 ## User related targets
35 documents:
36         (cd docs && $(MAKE) $(AM_MAKEFLAGS) documents)
39 ## Maintainer related targets
43 ## NOTE:
44 ##     Options listed in AUTOMAKE_OPTIONS variable are applied on a
45 ##     per-`Makefile' basis.
47 AUTOMAKE_OPTIONS = check-news
50 ## NOTE:
51 ##     Makefile.maint is automatically distributed by automake rules
53 EXTRA_DIST =                                                    \
54         BUGS TODO README NEWS COPYING AUTHORS INSTALL THANKS    \
55         bootstrap                                               \
56         configure.ac.in
58 dist-hook:
59         $(GITLOG_TO_CHANGELOG) > $(distdir)/ChangeLog || {      \
60                 rm -f ChangeLog ;                               \
61                 exit 1 ;                                        \
62         }
64 HOST = "http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;hb=HEAD;f="
66 update-download:
67         rm -r -f fetch-dir && \
68         mkdir fetch-dir && \
69         $(FETCH) $(HOST)doc/INSTALL fetch-dir/INSTALL && \
70         chmod a+r fetch-dir/INSTALL && \
71         chmod u+w fetch-dir/INSTALL && \
72         $(FETCH) $(HOST)doc/COPYINGv2 fetch-dir/COPYING && \
73         chmod a+r fetch-dir/COPYING && \
74         chmod u+w fetch-dir/COPYING && \
75         mv -f fetch-dir/* ./ || { \
76                 rm -r -f fetch-dir ; \
77                 exit 1 ; \
78         } && \
79         rm -r -f fetch-dir
81 update-local: Makefile update-download
83 maintainer-check-local: