]> git.deb.at Git - pkg/abook.git/blob - Makefile.am
Upload 0.6.1-2 to unstable
[pkg/abook.git] / Makefile.am
1
2 bin_PROGRAMS = abook
3
4 if ENABLE_VFORMAT_SUPPORT
5 vformat_SOURCE = vcard.c vcard.h
6 AM_LDFLAGS = -lvformat
7 else
8 vformat_SOURCE =
9 endif
10
11 abook_SOURCES = abook.c abook_rl.c database.c edit.c \
12                 filter.c getname.c getopt.c getopt1.c gettext.c \
13                 ldif.c list.c mbswidth.c misc.c options.c \
14                 ui.c views.c xmalloc.c \
15                 \
16                 abook.h abook_curses.h abook_rl.h database.h edit.h \
17                 filter.h getname.h getopt.h gettext.h \
18                 help.h list.h ldif.h mbswidth.h misc.h options.h \
19                 ui.h views.h xmalloc.h \
20                 $(vformat_SOURCE)
21
22 EXTRA_DIST = config.rpath  ANNOUNCE BUGS FAQ abook.1 abookrc.5 sample.abookrc \
23                 abook.spec contrib doc/HOWTO.translating_abook RELEASE_NOTES
24
25 abook_LDADD = @LIBINTL@
26
27
28 install-data-local:
29         $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5
30         $(INSTALL_DATA) $(srcdir)/abook.1 $(DESTDIR)$(mandir)/man1/
31         $(INSTALL_DATA) $(srcdir)/abookrc.5 $(DESTDIR)$(mandir)/man5/
32
33 uninstall-local:
34         -rm -f $(DESTDIR)$(mandir)/man1/abook.1
35         -rm -f $(DESTDIR)$(mandir)/man5/abookrc.5
36
37
38 SUBDIRS = po
39
40 ACLOCAL_AMFLAGS = -I m4
41
42 if USE_INCLUDED_INTL_H
43 AM_CPPFLAGS = -Iintl
44 endif