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