Use the new EXISTS protocol command to determine whether a file is new
[libpwmd.git] / Makefile.am
blobe8a8ff514fe8629885329bd286f38e089fb347ff
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 mem.c mem.h types.h valgrind.h gettext.h
6 libpwmd_la_HEADERS = libpwmd.h
7 libpwmd_la_LDFLAGS = -version-info 4:2: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 mem.c mem.h valgrind.h
13 pwmc_CFLAGS = -DLOCALEDIR=\"@prefix@/share/locale\"
14 pwmc_LDADD= -lpwmd
16 install-data-hook:
17         install -m 0755 -d $(DESTDIR)${libdir}/pkgconfig
18         chmod u+w $(DESTDIR)${libdir}/pkgconfig
19         install -p -m 0644 ${top_builddir}/libpwmd.pc $(DESTDIR)${libdir}/pkgconfig
21 uninstall-hook:
22         rm -f $(DESTDIR)${libdir}/pkgconfig/libpwmd.pc
24 changelog:
25         git-log --no-color > ChangeLog || exit 1
27 deb:
28         dpkg-buildpackage -B -uc -rfakeroot && dh_clean
30 version: changelog
31         $(MAKE) $(AM_MAKEFLAGS) distcheck
32         $(MAKE) $(AM_MAKEFLAGS) deb
34 SUBDIRS = po
36 ACLOCAL_AMFLAGS = -I m4