include $(top_srcdir)/Makefile-head.am
AUTOMAKE_OPTIONS=gnu
-ACLOCAL_AMFLAGS=-I m4
-SUBDIRS=intl m4 macros src doc po
+SUBDIRS=macros src doc po
## to automatically rebuild aclocal.m4 if any of the macros in
## `macros/' change
@MAINT@include macros/macros.dep
AM_PROG_LIBTOOL
dnl gettext localization.
-dnl FIXME: should we use AM_GLIB_GNU_GETTEXT of glib-gettext.m4 ?
+dnl Use simpler AM_GLIB_GNU_GETTEXT instead of AM_GNU_GETTEXT
+dnl as we depend on glib and glib requires system installed gettext anyway.
+dnl http://lists.gnome.org/archives/gtk-devel-list/2003-April/msg00066.html
ALL_LINGUAS="cs"
-AM_GNU_GETTEXT
+AM_GLIB_GNU_GETTEXT
GTK_DOC_CHECK
dnl AM_CONDITIONAL needs to be here explicitely for doc/apiref/Makefile rebuild
Makefile
./macros/Makefile
./po/Makefile.in
-./intl/Makefile
-./m4/Makefile
./src/Makefile
./src/libcaptive/Makefile
./src/libcaptive/include/Makefile
dnl FIXME: Why is "po/POTFILES" being substituted?
make -C src distfiles DISTFILES_PRINT=1 \
|sed -n 's/^:DISTFILES: *\(.*\)$/\1/p'|tr ' ' '\n'|grep . >po/POTFILES.in
-cat po/POTFILES.in >po/POTFILES
+make -C po Makefile
echo done.