X-Git-Url: https://git.distorted.org.uk/~mdw/misc/blobdiff_plain/58b430827fb4ed30ff46e252664dfcf1b15dd869..03dc6e6eb5159d0107ae0ab2deedbd4a2d40c963:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 57162e8..f660e70 100644 --- a/Makefile.am +++ b/Makefile.am @@ -92,6 +92,16 @@ locking_LDADD = $(mLib_LIBS) dist_man_MANS += locking.1 endif +## prlimit +if HAVE_PRLIMIT +if HAVE_MLIB +bin_PROGRAMS += prlimit +prlimit_SOURCES = prlimit.c +prlimit_LDADD = $(mLib_LIBS) +dist_man_MANS += prlimit.1 +endif +endif + ## gorp if HAVE_CATACOMB bin_PROGRAMS += gorp @@ -145,7 +155,8 @@ SUBSTITUTIONS = \ PYTHON=$(PYTHON) \ PERL=$(PERL) \ TCLSH=$(TCLSH) \ - BASH=$(BASH) + BASH=$(BASH) \ + logdir=$(logdir) EXTRA_DIST += config/confsubst @@ -162,6 +173,19 @@ dist_man_MANS += create.1 dist_bin_SCRIPTS += z dist_man_MANS += z.1 +bin_SCRIPTS += hush +man_MANS += hush.1 +CLEANFILES += hush hush.1 +EXTRA_DIST += hush.in hush.1.in + +hush: hush.in Makefile + $(SUBST) $(srcdir)/hush.in >$@.new $(SUBSTITUTIONS) && \ + chmod +x $@.new && mv $@.new $@ + +hush.1: hush.1.in Makefile + $(SUBST) $(srcdir)/hush.1.in >$@.new $(SUBSTITUTIONS) && \ + mv $@.new $@ + ## bash scripts. if HAVE_BASH @@ -281,6 +305,7 @@ EXTRA_DIST += debian/rules EXTRA_DIST += debian/copyright EXTRA_DIST += debian/changelog EXTRA_DIST += debian/control +EXTRA_DIST += debian/compat ## What to install where. EXTRA_DIST += debian/inst