pwmc: Append libssh2 and gnutls CFLAGS and LDFLAGS.
[libpwmd.git] / Makefile.am
blob26983bab867fb9d39f61191d5180777fb423dfbd
1 EXTRA_DIST = TODO ChangeLog INSTALL NEWS debian ABOUT-NLS
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 -p -m 0644 ${top_builddir}/libpwmd-7.0.pc $(DESTDIR)${libdir}/pkgconfig
10 uninstall-hook:
11         rm -f $(DESTDIR)${libdir}/pkgconfig/libpwmd-7.0.pc
13 changelog:
14         git log v5.0.x..master --no-color > ChangeLog || exit 1
16 ChangeLog:
17         if test -d ${top_builddir}/.git/; then \
18             $(MAKE) $(AM_MAKEFLAGS) changelog; \
19         else \
20             touch ${top_builddir}/ChangeLog; \
21         fi
23 deb: changelog
24         dpkg-buildpackage -B -uc -rfakeroot && dh_clean
26 version: changelog
27         $(MAKE) $(AM_MAKEFLAGS) distcheck
28         $(MAKE) $(AM_MAKEFLAGS) deb