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