diff options
| author | David M. Syzdek <syzdek@bindlebinaries.com> | 2017-07-07 11:55:03 -0800 |
|---|---|---|
| committer | David M. Syzdek <syzdek@bindlebinaries.com> | 2017-07-07 11:55:03 -0800 |
| commit | 00f9c21e6bb860e08b39aa5824c601868375f2cc (patch) | |
| tree | 7d0f26b48a8dc58b82b501fd130baf62c1f194bf | |
| parent | c1213222e05c9cba8f13d49f6bf8c2943b675b55 (diff) | |
| download | securecoreutils-00f9c21e6bb860e08b39aa5824c601868375f2cc.tar.gz securecoreutils-00f9c21e6bb860e08b39aa5824c601868375f2cc.tar.bz2 securecoreutils-00f9c21e6bb860e08b39aa5824c601868375f2cc.tar.xz securecoreutils-00f9c21e6bb860e08b39aa5824c601868375f2cc.zip | |
Updating Makefile to use SCU_PREFIX for creating symlinks
| -rw-r--r-- | Makefile.am | 18 | ||||
| -rw-r--r-- | acinclude.m4 | 1 |
2 files changed, 10 insertions, 9 deletions
diff --git a/Makefile.am b/Makefile.am index 41ed034..4dbed62 100644 --- a/Makefile.am +++ b/Makefile.am | |||
| @@ -134,15 +134,15 @@ include $(srcdir)/@bindletools_srcdir@/build-aux/makefile-version.am | |||
| 134 | 134 | ||
| 135 | # local targets | 135 | # local targets |
| 136 | install-exec-local: | 136 | install-exec-local: |
| 137 | ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils seccat; ) | 137 | ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils $(SCU_PREFIX)cat; ) |
| 138 | ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils secpath; ) | 138 | ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils $(SCU_PREFIX)path; ) |
| 139 | ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils secrm; ) | 139 | ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils $(SCU_PREFIX)rm; ) |
| 140 | ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils secrmdir; ) | 140 | ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils $(SCU_PREFIX)rmdir; ) |
| 141 | ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils sectail; ) | 141 | ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils $(SCU_PREFIX)tail; ) |
| 142 | ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils seczcat; ) | 142 | ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils $(SCU_PREFIX)zcat; ) |
| 143 | ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils secbzcat; ) | 143 | ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils $(SCU_PREFIX)bzcat; ) |
| 144 | ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils secgzcat; ) | 144 | ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils $(SCU_PREFIX)gzcat; ) |
| 145 | ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils secxzcat; ) | 145 | ( cd $(DESTDIR)$(bindir); ln -sf securecoreutils $(SCU_PREFIX)xzcat; ) |
| 146 | 146 | ||
| 147 | 147 | ||
| 148 | install-data-local: | 148 | install-data-local: |
diff --git a/acinclude.m4 b/acinclude.m4 index 5ee91f8..3e873f1 100644 --- a/acinclude.m4 +++ b/acinclude.m4 | |||
| @@ -54,6 +54,7 @@ AC_DEFUN([AC_SCU_PREFIX],[dnl | |||
| 54 | SCU_PREFIX=${WSCU_PREFIX} | 54 | SCU_PREFIX=${WSCU_PREFIX} |
| 55 | 55 | ||
| 56 | AC_DEFINE_UNQUOTED(SCU_PREFIX, ["${SCU_PREFIX}"], [Prefix for widget aliases.]) | 56 | AC_DEFINE_UNQUOTED(SCU_PREFIX, ["${SCU_PREFIX}"], [Prefix for widget aliases.]) |
| 57 | AC_SUBST([SCU_PREFIX], [${SCU_PREFIX}]) | ||
| 57 | ])dnl | 58 | ])dnl |
| 58 | 59 | ||
| 59 | 60 | ||
