From dbe3877285549d1cdc549826673cdf8f07cf154c Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Wed, 21 Feb 2018 23:34:58 -0800 Subject: Install ct-ng Also, move kconfig.mk into the main driver - we'd want kconfig to be a sub-package so there's no sense in writing the installation framework for the ct-ng-specific fragment in an otherwise independent directory. Signed-off-by: Alexey Neyman --- Makefile.am | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 8e25898f..37996f85 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,3 +2,17 @@ ## vim: set noet : SUBDIRS = kconfig + +bin_SCRIPTS = ct-ng +CLEANFILES = $(bin_SCRIPTS) +EXTRA_DIST = ct-ng.in bootstrap + +do_subst = ( @SED@ \ + -e 's,[@]bindir[@],$(bindir),g' \ + -e 's,[@]libdir[@],$(libdir),g' \ + -e 's,[@]docdir[@],$(docdir),g' \ + -e 's,[@]mandir[@],$(mandir),g' \ + | $(SHELL) config.status --file=- ) + +ct-ng: ct-ng.in + $(AM_V_GEN)$(do_subst) < $< >$@-t && chmod a-w,a+x $@-t && mv $@-t $@ -- cgit v1.2.3