Rearranged distribute tracing
[distributed.git] / Makefile.am
blob1ee425bb9fd124770708a9ca5964a0a72c1f194e
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                                    \
30         tests
33 ## User related targets
36 documents:
37         (cd docs && $(MAKE) $(AM_MAKEFLAGS) documents)
40 ## Maintainer related targets
44 ## NOTE:
45 ##     Options listed in AUTOMAKE_OPTIONS variable are applied on a
46 ##     per-`Makefile' basis.
48 AUTOMAKE_OPTIONS = check-news
51 ## NOTE:
52 ##     Makefile.maint is automatically distributed by automake rules
54 EXTRA_DIST =                                                    \
55         BUGS TODO README NEWS COPYING AUTHORS INSTALL THANKS    \
56         bootstrap                                               \
57         configure.ac.in
59 dist-hook:
60         $(GITLOG_TO_CHANGELOG) > $(distdir)/ChangeLog || {      \
61                 rm -f ChangeLog ;                               \
62                 exit 1 ;                                        \
63         }
65 HOST = "http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;hb=HEAD;f="
67 update-download:
68         rm -r -f fetch-dir && \
69         mkdir fetch-dir && \
70         $(FETCH) $(HOST)doc/INSTALL fetch-dir/INSTALL && \
71         chmod a+r fetch-dir/INSTALL && \
72         chmod u+w fetch-dir/INSTALL && \
73         $(FETCH) $(HOST)doc/COPYINGv2 fetch-dir/COPYING && \
74         chmod a+r fetch-dir/COPYING && \
75         chmod u+w fetch-dir/COPYING && \
76         mv -f fetch-dir/* ./ || { \
77                 rm -r -f fetch-dir ; \
78                 exit 1 ; \
79         } && \
80         rm -r -f fetch-dir
82 update-local: Makefile update-download
84 maintainer-check-local: