annotate Makefile @ 12559:c2cbabec01dd

update nearly all FSF copyright year lists to include 2010 Use the same procedure as for 2009, outlined in http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081
author Jim Meyering <meyering@redhat.com>
date Fri, 01 Jan 2010 10:31:12 +0100
parents d943ffe46edc
children f36dcb5c4dae
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7676
13576b82f3d4 Beginnings of a Makefile for the gnulib maintainers.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 # Makefile for gnulib central.
12559
c2cbabec01dd update nearly all FSF copyright year lists to include 2010
Jim Meyering <meyering@redhat.com>
parents: 12166
diff changeset
2 # Copyright (C) 2006, 2009, 2010 Free Software Foundation, Inc.
7676
13576b82f3d4 Beginnings of a Makefile for the gnulib maintainers.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3 #
13576b82f3d4 Beginnings of a Makefile for the gnulib maintainers.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 # Copying and distribution of this file, with or without modification,
13576b82f3d4 Beginnings of a Makefile for the gnulib maintainers.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 # in any medium, are permitted without royalty provided the copyright
13576b82f3d4 Beginnings of a Makefile for the gnulib maintainers.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 # notice and this notice are preserved.
13576b82f3d4 Beginnings of a Makefile for the gnulib maintainers.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7
11445
66a365760f8b Add targets for the documentation.
Bruno Haible <bruno@clisp.org>
parents: 7676
diff changeset
8 # Produce some files that are not stored in the repository.
7676
13576b82f3d4 Beginnings of a Makefile for the gnulib maintainers.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 all:
13576b82f3d4 Beginnings of a Makefile for the gnulib maintainers.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10
11445
66a365760f8b Add targets for the documentation.
Bruno Haible <bruno@clisp.org>
parents: 7676
diff changeset
11 # Produce the documentation in readable form.
11446
6d0f0ffb7658 Combine 4 Makefile rules.
Bruno Haible <bruno@clisp.org>
parents: 11445
diff changeset
12 info html dvi pdf:
6d0f0ffb7658 Combine 4 Makefile rules.
Bruno Haible <bruno@clisp.org>
parents: 11445
diff changeset
13 cd doc && $(MAKE) $@ && $(MAKE) mostlyclean
11445
66a365760f8b Add targets for the documentation.
Bruno Haible <bruno@clisp.org>
parents: 7676
diff changeset
14
7676
13576b82f3d4 Beginnings of a Makefile for the gnulib maintainers.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 # Perform some platform independent checks on the gnulib code.
12166
d943ffe46edc use AC_CHECK_FUNCS_ONCE, not AC_CHECK_FUNCS in modules/*
Jim Meyering <meyering@redhat.com>
parents: 11446
diff changeset
16 check: sc_prefer_ac_check_funcs_once
d943ffe46edc use AC_CHECK_FUNCS_ONCE, not AC_CHECK_FUNCS in modules/*
Jim Meyering <meyering@redhat.com>
parents: 11446
diff changeset
17
d943ffe46edc use AC_CHECK_FUNCS_ONCE, not AC_CHECK_FUNCS in modules/*
Jim Meyering <meyering@redhat.com>
parents: 11446
diff changeset
18 sc_prefer_ac_check_funcs_once:
d943ffe46edc use AC_CHECK_FUNCS_ONCE, not AC_CHECK_FUNCS in modules/*
Jim Meyering <meyering@redhat.com>
parents: 11446
diff changeset
19 git grep -w -l AC_CHECK_FUNCS modules && \
d943ffe46edc use AC_CHECK_FUNCS_ONCE, not AC_CHECK_FUNCS in modules/*
Jim Meyering <meyering@redhat.com>
parents: 11446
diff changeset
20 { echo use AC_CHECK_FUNCS_ONCE, not AC_CHECK_FUNCS in modules/ 1>&2; \
d943ffe46edc use AC_CHECK_FUNCS_ONCE, not AC_CHECK_FUNCS in modules/*
Jim Meyering <meyering@redhat.com>
parents: 11446
diff changeset
21 exit 1; } || :
7676
13576b82f3d4 Beginnings of a Makefile for the gnulib maintainers.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22
11445
66a365760f8b Add targets for the documentation.
Bruno Haible <bruno@clisp.org>
parents: 7676
diff changeset
23 # Regenerate some files that are stored in the repository.
7676
13576b82f3d4 Beginnings of a Makefile for the gnulib maintainers.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 regen: MODULES.html
13576b82f3d4 Beginnings of a Makefile for the gnulib maintainers.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25
11445
66a365760f8b Add targets for the documentation.
Bruno Haible <bruno@clisp.org>
parents: 7676
diff changeset
26 # MODULES.html is periodically being generated and copied to the web pages at
66a365760f8b Add targets for the documentation.
Bruno Haible <bruno@clisp.org>
parents: 7676
diff changeset
27 # :ext:USER@cvs.savannah.gnu.org:/web/gnulib/gnulib/
66a365760f8b Add targets for the documentation.
Bruno Haible <bruno@clisp.org>
parents: 7676
diff changeset
28 # where it then appears at <http://www.gnu.org/software/gnulib/MODULES.html>.
7676
13576b82f3d4 Beginnings of a Makefile for the gnulib maintainers.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
29 MODULES.html: MODULES.html.sh
13576b82f3d4 Beginnings of a Makefile for the gnulib maintainers.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
30 ./MODULES.html.sh > MODULES.html