summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStepan Kasal2007-05-15 20:46:25 +0200
committerKarel Zak2007-05-16 11:43:30 +0200
commitcc46213207828d6a79dd9ec39caac1543f654ba9 (patch)
tree2f0b4bb27a6b5e014273e52f30987df5949217d9
parentbuild-sys: --prefix defaults to /usr (diff)
downloadkernel-qcow2-util-linux-cc46213207828d6a79dd9ec39caac1543f654ba9.tar.gz
kernel-qcow2-util-linux-cc46213207828d6a79dd9ec39caac1543f654ba9.tar.xz
kernel-qcow2-util-linux-cc46213207828d6a79dd9ec39caac1543f654ba9.zip
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 <skasal@redhat.com>
-rw-r--r--configure.ac2
-rw-r--r--misc-utils/.gitignore2
-rw-r--r--misc-utils/Makefile.am8
3 files changed, 4 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index b9e5a90d0..32fa8ab6f 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 000000000..ac89c1faf
--- /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 c2b5a0f2b..6b8b95c04 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 \