Mercurial > hg > octave-kai > gnulib-hg
annotate Makefile @ 12421:e8d2c6fc33ad
Use spaces for indentation, not tabs.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Thu, 10 Dec 2009 20:28:30 +0100 |
parents | d943ffe46edc |
children | c2cbabec01dd |
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. |
11445
66a365760f8b
Add targets for the documentation.
Bruno Haible <bruno@clisp.org>
parents:
7676
diff
changeset
|
2 # Copyright (C) 2006, 2009 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 | 12 info html dvi pdf: |
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 |