chiark / gitweb /
inplace: Substitute the @BASH@ onion in the shebang line.
[misc] / Makefile.am
index 5387354a33da88d44deb7094924191a349453a76..25ac5e45e361d2e8098246393d03dec3c07aeab4 100644 (file)
@@ -124,7 +124,8 @@ SUBSTITUTIONS = \
        PACKAGE=$(PACKAGE) VERSION=$(VERSION) \
        PYTHON=$(PYTHON) \
        PERL=$(PERL) \
-       TCLSH=$(TCLSH)
+       TCLSH=$(TCLSH) \
+       BASH=$(BASH)
 
 EXTRA_DIST             += config/confsubst
 
@@ -243,4 +244,22 @@ splitconf: splitconf.in Makefile
 
 endif
 
+###--------------------------------------------------------------------------
+### Other administrivia.
+
+dist-hook:
+       echo $(VERSION) >$(distdir)/RELEASE
+
+###--------------------------------------------------------------------------
+### 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 --------------------------------------------------