From cc46213207828d6a79dd9ec39caac1543f654ba9 Mon Sep 17 00:00:00 2001 From: Stepan Kasal Date: Tue, 15 May 2007 20:46:25 +0200 Subject: [PATCH] build-sys: let configure instantiate the misc-utils/*.pl scripts The substitution of @PERL@ is most done with AC_CONFIG_FILES. Signed-off-by: Stepan Kasal --- configure.ac | 2 ++ misc-utils/.gitignore | 2 ++ misc-utils/Makefile.am | 8 -------- 3 files changed, 4 insertions(+), 8 deletions(-) create mode 100644 misc-utils/.gitignore diff --git a/configure.ac b/configure.ac index b9e5a90d..32fa8ab6 100644 --- a/configure.ac +++ b/configure.ac @@ -466,6 +466,8 @@ text-utils/Makefile tests/Makefile tests/helpers/Makefile tests/commands.sh +misc-utils/chkdupexe:misc-utils/chkdupexe.pl +misc-utils/scriptreplay:misc-utils/scriptreplay.pl ]) AC_OUTPUT diff --git a/misc-utils/.gitignore b/misc-utils/.gitignore new file mode 100644 index 00000000..ac89c1fa --- /dev/null +++ b/misc-utils/.gitignore @@ -0,0 +1,2 @@ +chkdupexe +scriptreplay diff --git a/misc-utils/Makefile.am b/misc-utils/Makefile.am index c2b5a0f2..6b8b95c0 100644 --- a/misc-utils/Makefile.am +++ b/misc-utils/Makefile.am @@ -1,8 +1,6 @@ include $(top_srcdir)/config/include-Makefile.am EXTRA_DIST = README.* \ - chkdupexe.pl \ - scriptreplay.pl \ reset \ reset.033c @@ -15,12 +13,6 @@ mcookie_SOURCES = mcookie.c ../lib/md5.c usrbinexec_SCRIPTS = chkdupexe scriptreplay -chkdupexe: chkdupexe.pl - sed -e 's,[@]PERL[@],$(PERL),g' < chkdupexe.pl > chkdupexe - -scriptreplay: scriptreplay.pl - sed -e 's,[@]PERL[@],$(PERL),g' < scriptreplay.pl > scriptreplay - CLEANFILES = chkdupexe scriptreplay man_MANS = cal.1 chkdupexe.1 ddate.1 logger.1 look.1 mcookie.1 \ -- 2.39.5