chiark / gitweb /
inplace: Substitute the @BASH@ onion in the shebang line.
[misc] / Makefile.am
index acb078815331e8165b831ed61cc5b56d6e17a349..25ac5e45e361d2e8098246393d03dec3c07aeab4 100644 (file)
@@ -50,6 +50,11 @@ bin_PROGRAMS         += if-mtu
 if_mtu_SOURCES          = if-mtu.c
 dist_man_MANS          += if-mtu.1
 
+## getpass
+bin_PROGRAMS           += getpass
+getpass_SOURCES                 = getpass.c
+dist_man_MANS          += getpass.1
+
 ## xtitle
 bin_PROGRAMS           += xtitle
 xtitle_SOURCES          = xtitle.c
@@ -119,7 +124,8 @@ SUBSTITUTIONS = \
        PACKAGE=$(PACKAGE) VERSION=$(VERSION) \
        PYTHON=$(PYTHON) \
        PERL=$(PERL) \
-       TCLSH=$(TCLSH)
+       TCLSH=$(TCLSH) \
+       BASH=$(BASH)
 
 EXTRA_DIST             += config/confsubst
 
@@ -238,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 --------------------------------------------------