From: Jon Trulson Date: Mon, 23 Mar 2020 19:00:54 +0000 (-0600) Subject: Use bindir in install hooks rather than CDE_INSTALLATION_TOP X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a6e78364d074d9875895a77091c9f869f9299d04;p=oweals%2Fcde.git Use bindir in install hooks rather than CDE_INSTALLATION_TOP Patch supplied by Peter G. --- diff --git a/cde/programs/dtmail/dtmail/Makefile.am b/cde/programs/dtmail/dtmail/Makefile.am index e9f9c65a..78975dea 100644 --- a/cde/programs/dtmail/dtmail/Makefile.am +++ b/cde/programs/dtmail/dtmail/Makefile.am @@ -72,6 +72,6 @@ dtmail_SOURCES = AliasListUiItem.C AlternatesListUiItem.C \ options_ui.C options_util.C install-exec-hook: - chown root $(DESTDIR)$(CDE_INSTALLATION_TOP)/bin/dtmail - chgrp mail $(DESTDIR)$(CDE_INSTALLATION_TOP)/bin/dtmail - chmod 2755 $(DESTDIR)$(CDE_INSTALLATION_TOP)/bin/dtmail + chown root $(DESTDIR)$(bindir)/dtmail + chgrp mail $(DESTDIR)$(bindir)/dtmail + chmod 2755 $(DESTDIR)$(bindir)/dtmail diff --git a/cde/programs/dtsearchpath/dtappg/Makefile.am b/cde/programs/dtsearchpath/dtappg/Makefile.am index 07407343..d5321335 100644 --- a/cde/programs/dtsearchpath/dtappg/Makefile.am +++ b/cde/programs/dtsearchpath/dtappg/Makefile.am @@ -13,5 +13,5 @@ endif dtappgather_SOURCES = Options.C dtappgather.C dtappgather.h Options.h install-exec-hook: - chown root $(DESTDIR)$(CDE_INSTALLATION_TOP)/bin/dtappgather - chmod 4755 $(DESTDIR)$(CDE_INSTALLATION_TOP)/bin/dtappgather + chown root $(DESTDIR)$(bindir)/dtappgather + chmod 4755 $(DESTDIR)$(bindir)/dtappgather diff --git a/cde/programs/dtsession/Makefile.am b/cde/programs/dtsession/Makefile.am index 4e6726f8..4336ad17 100644 --- a/cde/programs/dtsession/Makefile.am +++ b/cde/programs/dtsession/Makefile.am @@ -119,6 +119,6 @@ sys.session.ive: sys.session.src install-exec-hook: - chown root $(DESTDIR)$(CDE_INSTALLATION_TOP)/bin/dtsession - chmod 4755 $(DESTDIR)$(CDE_INSTALLATION_TOP)/bin/dtsession + chown root $(DESTDIR)$(bindir)/dtsession + chmod 4755 $(DESTDIR)$(bindir)/dtsession diff --git a/cde/programs/dtterm/Makefile.am b/cde/programs/dtterm/Makefile.am index 2e608877..d497adb3 100644 --- a/cde/programs/dtterm/Makefile.am +++ b/cde/programs/dtterm/Makefile.am @@ -44,6 +44,6 @@ dtterm.ti: terminfoChecklist CPP="$(GENCPP)" $(SHELL) terminfoCreate < terminfoChecklist > $@ install-exec-hook: - chown root $(DESTDIR)$(CDE_INSTALLATION_TOP)/bin/dtterm - chmod 4755 $(DESTDIR)$(CDE_INSTALLATION_TOP)/bin/dtterm + chown root $(DESTDIR)$(bindir)/dtterm + chmod 4755 $(DESTDIR)$(bindir)/dtterm