The substitution of @PERL@ is most done with AC_CONFIG_FILES.
Signed-off-by: Stepan Kasal <skasal@redhat.com>
tests/Makefile
tests/helpers/Makefile
tests/commands.sh
+misc-utils/chkdupexe:misc-utils/chkdupexe.pl
+misc-utils/scriptreplay:misc-utils/scriptreplay.pl
])
AC_OUTPUT
--- /dev/null
+chkdupexe
+scriptreplay
include $(top_srcdir)/config/include-Makefile.am
EXTRA_DIST = README.* \
- chkdupexe.pl \
- scriptreplay.pl \
reset \
reset.033c
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 \