Look for ~/.pwmd/pinentry.conf rather than ~/.pwmd/env. 'env' isn't
[libpwmd.git] / Makefile.am
blob4d9096d0375fe975092356784a79736a3bf7ac48
1 EXTRA_DIST = TODO ChangeLog ChangeLog.old INSTALL KnownBugs NEWS debian ABOUT-NLS
2 dist_man3_MANS = libpwmd.3
3 lib_LTLIBRARIES = libpwmd.la
4 libpwmd_ladir = $(includedir)
5 libpwmd_la_SOURCES = libpwmd.c libpwmd.h types.h valgrind.h gettext.h
6 libpwmd_la_HEADERS = libpwmd.h
7 libpwmd_la_LDFLAGS = -version-info 4:3:0 @LIBASSUAN_LIBS@ @GPG_ERROR_LIBS@
8 libpwmd_la_CFLAGS = -DLOCALEDIR=\"${prefix}/share/locale\" @LIBASSUAN_CFLAGS@ @GPG_ERROR_CFLAGS@ 
10 dist_man1_MANS = pwmc.1
11 bin_PROGRAMS = pwmc
12 pwmc_SOURCES = pwmc.c valgrind.h
13 pwmc_CFLAGS = -DLOCALEDIR=\"${prefix}/share/locale\"
14 pwmc_LDADD= -lpwmd
16 if MEM_DEBUG
17 CPPFLAGS += -DMEM_DEBUG
18 else
19 libpwmd_la_SOURCES += mem.c mem.h
20 pwmc_SOURCES += mem.c mem.h
21 endif
23 install-data-hook:
24         install -m 0755 -d $(DESTDIR)${libdir}/pkgconfig
25         chmod u+w $(DESTDIR)${libdir}/pkgconfig
26         install -p -m 0644 ${top_builddir}/libpwmd.pc $(DESTDIR)${libdir}/pkgconfig
28 uninstall-hook:
29         rm -f $(DESTDIR)${libdir}/pkgconfig/libpwmd.pc
31 changelog:
32         git-log --no-color > ChangeLog || exit 1
34 deb:
35         dpkg-buildpackage -B -uc -rfakeroot && dh_clean
37 version: changelog
38         $(MAKE) $(AM_MAKEFLAGS) distcheck
39         $(MAKE) $(AM_MAKEFLAGS) deb
41 SUBDIRS = po
43 ACLOCAL_AMFLAGS = -I m4 -I/usr/local/share/aclocal