1include $(top_srcdir)/Makefile.top 2 3SUBDIRS = . lib doc bin fuzz 4 5if HAVE_CMOCKA 6SUBDIRS += tests 7endif HAVE_CMOCKA 8 9BUILT_SOURCES = bind.keys.h 10CLEANFILES = bind.keys.h 11 12bind.keys.h: bind.keys Makefile 13 ${PERL} ${top_srcdir}/util/bindkeys.pl ${top_srcdir}/bind.keys > $@ 14 15dist_sysconf_DATA = bind.keys 16 17.PHONY: doc 18 19EXTRA_DIST = \ 20 util/bindkeys.pl \ 21 contrib \ 22 CHANGES \ 23 COPYRIGHT \ 24 LICENSE \ 25 *.md 26 27dist-hook: 28 find $(distdir) -type f -name .gitignore -delete 29 git rev-parse --short HEAD | cut -b1-7 > $(distdir)/srcid 30