Update NEWS.
[libpwmd.git] / Makefile.am
blob9862be3c7ce1cc7b66ba7ed9032b812644fef20e
1 EXTRA_DIST = TODO ChangeLog INSTALL NEWS debian ABOUT-NLS libpwmd-7.0.pc.in
2 SUBDIRS = doc src po
3 ACLOCAL_AMFLAGS = -I m4
5 install-data-hook:
6         test -d $(DESTDIR)${libdir}/pkgconfig \
7             || $(INSTALL) -m 0755 -d $(DESTDIR)${libdir}/pkgconfig
8         $(INSTALL) -m 0644 ${top_builddir}/libpwmd-7.0.pc \
9                 $(DESTDIR)${libdir}/pkgconfig
11 uninstall-hook:
12         rm -f $(DESTDIR)${libdir}/pkgconfig/libpwmd-7.0.pc
14 distclean-local:
15         rm -f libpwmd-7.0.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