pwmc: some progress indicator for non-blocking functions when DEBUG is
[libpwmd.git] / Makefile.am
blobe6d1085077822c52f9e7fd0db1ec4bf2ca4dc5e2
1 EXTRA_DIST = TODO ChangeLog INSTALL KnownBugs NEWS debian ABOUT-NLS
2 SUBDIRS = doc assuan src po
3 ACLOCAL_AMFLAGS = -I m4 -I/usr/local/share/aclocal
5 install-data-hook:
6         install -m 0755 -d $(DESTDIR)${libdir}/pkgconfig
7         chmod u+w $(DESTDIR)${libdir}/pkgconfig
8         install -p -m 0644 ${top_builddir}/libpwmd.pc $(DESTDIR)${libdir}/pkgconfig
9 if WITH_LIBPTH
10         install -p -m 0644 ${top_builddir}/libpwmd-pth.pc $(DESTDIR)${libdir}/pkgconfig
11 endif
13 uninstall-hook:
14         rm -f $(DESTDIR)${libdir}/pkgconfig/libpwmd.pc
15         rm -f $(DESTDIR)${libdir}/pkgconfig/libpwmd-pth.pc
17 changelog:
18         git log v5.0.x..master --no-color > ChangeLog || exit 1
20 ChangeLog:
21         if test -d ${top_builddir}/.git/; then \
22             $(MAKE) $(AM_MAKEFLAGS) changelog; \
23         else \
24             touch ${top_builddir}/ChangeLog; \
25         fi
27 deb: changelog
28         dpkg-buildpackage -B -uc -rfakeroot && dh_clean
30 version: changelog
31         $(MAKE) $(AM_MAKEFLAGS) distcheck
32         $(MAKE) $(AM_MAKEFLAGS) deb