added missing dependencies to fix failing unistr/ tests
[gnulib.git] / Makefile
1 # Makefile for gnulib central.
2 # Copyright (C) 2006, 2009, 2010 Free Software Foundation, Inc.
3 #
4 # Copying and distribution of this file, with or without modification,
5 # in any medium, are permitted without royalty provided the copyright
6 # notice and this notice are preserved.
7
8 # Produce some files that are not stored in the repository.
9 all:
10
11 # Produce the documentation in readable form.
12 info html dvi pdf:
13         cd doc && $(MAKE) $@ && $(MAKE) mostlyclean
14
15 # Perform some platform independent checks on the gnulib code.
16 check: sc_prefer_ac_check_funcs_once
17
18 sc_prefer_ac_check_funcs_once:
19         if test -d .git; then                                           \
20           git grep -w -l AC_CHECK_FUNCS modules                         \
21             && { echo use AC_CHECK_FUNCS_ONCE, not AC_CHECK_FUNCS       \
22                    in modules/ 1>&2; exit 1; } || :                     \
23         else :; fi
24
25 # Regenerate some files that are stored in the repository.
26 regen: MODULES.html
27
28 # MODULES.html is periodically being generated and copied to the web pages at
29 # :ext:USER@cvs.savannah.gnu.org:/web/gnulib/gnulib/
30 # where it then appears at <http://www.gnu.org/software/gnulib/MODULES.html>.
31 MODULES.html: MODULES.html.sh
32         ./MODULES.html.sh > MODULES.html