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