]> git.deb.at Git - pkg/abook.git/blob - Makefile.am
Merge branch 'dh'
[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 RELEASE_NOTES
16
17 abook_LDADD = @LIBINTL@
18
19
20 install-data-local:
21         $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5
22         $(INSTALL_DATA) $(srcdir)/abook.1 $(DESTDIR)$(mandir)/man1/
23         $(INSTALL_DATA) $(srcdir)/abookrc.5 $(DESTDIR)$(mandir)/man5/
24
25 uninstall-local:
26         -rm -f $(DESTDIR)$(mandir)/man1/abook.1
27         -rm -f $(DESTDIR)$(mandir)/man5/abookrc.5
28
29
30 SUBDIRS = intl po
31
32 ACLOCAL_AMFLAGS = -I m4
33
34 if USE_INCLUDED_INTL_H
35 AM_CPPFLAGS = -Iintl
36 endif