Added NEWS file
[distributed.git] / Makefile.am
blob210e76cbfd481a42015efdfdf09f5d95332e6e93
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
36 ## Maintainer related targets
40 ## NOTE:
41 ##     Options listed in AUTOMAKE_OPTIONS variable are applied on a
42 ##     per-`Makefile' basis.
44 AUTOMAKE_OPTIONS = check-news
47 ## NOTE:
48 ##     Makefile.maint is automatically distributed by automake rules
50 EXTRA_DIST =                                                    \
51         BUGS TODO README NEWS COPYING AUTHORS INSTALL THANKS    \
52         bootstrap                                               \
53         configure.ac.in
55 dist-hook:
56         $(GITLOG_TO_CHANGELOG) > $(distdir)/ChangeLog || {      \
57                 rm -f ChangeLog ;                               \
58                 exit 1 ;                                        \
59         }
61 HOST = "http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;hb=HEAD;f="
63 update-download:
64         rm -r -f fetch-dir && \
65         mkdir fetch-dir && \
66         $(FETCH) $(HOST)doc/INSTALL fetch-dir/INSTALL && \
67         chmod a+r fetch-dir/INSTALL && \
68         chmod u+w fetch-dir/INSTALL && \
69         $(FETCH) $(HOST)doc/COPYINGv2 fetch-dir/COPYING && \
70         chmod a+r fetch-dir/COPYING && \
71         chmod u+w fetch-dir/COPYING && \
72         mv -f fetch-dir/* ./ || { \
73                 rm -r -f fetch-dir ; \
74                 exit 1 ; \
75         } && \
76         rm -r -f fetch-dir
78 update-local: Makefile update-download
80 maintainer-check-local: