X-Git-Url: https://git.distorted.org.uk/~mdw/misc/blobdiff_plain/e3e2681b218b339847f1aa7fad207a749ccbf6b7..a027e0e59830c9f070d8b2f3b15713936bc8ae7d:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 5387354..656ee8f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -110,6 +110,14 @@ cdb_check_domain_LDADD = -lcdb dist_man_MANS += cdb-probe.1 cdb-check-domain.1 endif +## x86 model identification +if X86 +bin_PROGRAMS += x86-model +x86_model_SOURCES = x86-model.c +x86_model_LDADD = $(mLib_LIBS) +dist_man_MANS += x86-model.1 +endif + ###-------------------------------------------------------------------------- ### Tools in scripts. @@ -124,7 +132,8 @@ SUBSTITUTIONS = \ PACKAGE=$(PACKAGE) VERSION=$(VERSION) \ PYTHON=$(PYTHON) \ PERL=$(PERL) \ - TCLSH=$(TCLSH) + TCLSH=$(TCLSH) \ + BASH=$(BASH) EXTRA_DIST += config/confsubst @@ -243,4 +252,24 @@ splitconf: splitconf.in Makefile endif +###-------------------------------------------------------------------------- +### Other administrivia. + +dist-hook: + echo $(VERSION) >$(distdir)/RELEASE + +EXTRA_DIST += config/auto-version + +###-------------------------------------------------------------------------- +### Debian. + +## Standard files. +EXTRA_DIST += debian/rules +EXTRA_DIST += debian/copyright +EXTRA_DIST += debian/changelog +EXTRA_DIST += debian/control + +## What to install where. +EXTRA_DIST += debian/inst + ###----- That's all, folks --------------------------------------------------