Make various adjustments necessary to enable "make dist" to build a BIND source tarball whose contents are complete enough to build binaries, run unit & system tests, and generate documentation on Unix systems. Known outstanding issues: - "make distcheck" does not work yet. - Tests do not work for out-of-tree source-tarball-based builds. - Source tarballs are not complete enough for building on Windows. All of the above will be addressed in due course.
25 lines
428 B
Makefile
25 lines
428 B
Makefile
include $(top_srcdir)/Makefile.top
|
|
|
|
SUBDIRS = . libltdl lib doc bin
|
|
|
|
BUILT_SOURCES = bind.keys.h
|
|
CLEANFILES = bind.keys.h
|
|
|
|
bind.keys.h: bind.keys Makefile
|
|
${PERL} ${top_srcdir}/util/bindkeys.pl ${top_srcdir}/bind.keys > $@
|
|
|
|
dist_sysconf_DATA = bind.keys
|
|
|
|
.PHONY: doc
|
|
|
|
EXTRA_DIST = \
|
|
util/bindkeys.pl \
|
|
contrib \
|
|
CHANGES \
|
|
COPYRIGHT \
|
|
LICENSE \
|
|
*.md
|
|
|
|
dist-hook:
|
|
find $(distdir) -type f -name .gitignore -delete
|