diff options
-rw-r--r-- | Makefile.am | 7 | ||||
-rw-r--r-- | configure.ac | 8 |
2 files changed, 4 insertions, 11 deletions
diff --git a/Makefile.am b/Makefile.am index 1e953c6..96b67c1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -172,12 +172,13 @@ EXTRA_DIST = \ ## Installation. ## ## -------------- ## -#full program prefix -fpp = $(DESTDIR)$(bindir)/@real_program_prefix@ +# Sed command for Transforming program names. +transform_exe = s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/ if MULTI_USER install-exec-hook: - chmod u+s $(fpp)crontab$(EXEEXT) + tcrontab=`echo crontab$(EXEEXT) | sed '$(transform_exe)'`; \ + chmod u+s $(DESTDIR)$(bindir)/$${tcrontab} endif ## --------------- ## diff --git a/configure.ac b/configure.ac index 0a61bb4..d0d421c 100644 --- a/configure.ac +++ b/configure.ac @@ -133,14 +133,6 @@ AC_ARG_WITH(tmp-dir, AC_MSG_RESULT($CONFIG_TMP_DIR) AC_SUBST(CONFIG_TMP_DIR) - - - -# This is to support `make DESTDIR=...' - -real_program_prefix=`echo $program_prefix | sed s/NONE//` -AC_SUBST(real_program_prefix) - AC_CONFIG_FILES([pre-inst-env:build-aux/pre-inst-env.in], [chmod +x pre-inst-env]) AC_CONFIG_FILES([doc/config.texi |