]> git.deb.at Git - pkg/abook.git/blobdiff - Makefile.am
Fix libintl build (thanks to TAKAHASHI Tamotsu).
[pkg/abook.git] / Makefile.am
index ca5490df9593f4b1c3eca2cf5106c4446b06d3bd..304d60840ae736d2c0b9f45c98e7fa7329ee3182 100644 (file)
@@ -3,7 +3,7 @@ bin_PROGRAMS = abook
 
 abook_SOURCES = abook.c database.c filter.c list.c misc.c \
                options.c edit.c ldif.c ui.c getname.c \
-               getopt.c getopt1.c abook_rl.c mbswidth.c \
+               getopt.c getopt1.c gettext.c abook_rl.c mbswidth.c \
                xmalloc.c \
                abook.h database.h filter.h list.h misc.h help.h \
                options.h edit.h ldif.h abook_curses.h ui.h getname.h \
@@ -11,7 +11,9 @@ abook_SOURCES = abook.c database.c filter.c list.c misc.c \
                xmalloc.h
 
 EXTRA_DIST = config.rpath  ANNOUNCE BUGS FAQ abook.1 abookrc.5 sample.abookrc \
-               abook.spec contrib
+               abook.spec contrib doc/HOWTO.translating_abook
+
+abook_LDADD = @LIBINTL@
 
 install-data-local:
        $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5
@@ -26,3 +28,7 @@ uninstall-local:
 SUBDIRS = intl po
 
 ACLOCAL_AMFLAGS = -I m4
+
+if USE_INCLUDED_INTL_H
+AM_CPPFLAGS = -Iintl
+endif