dtterm, dtsession, dtappgather, dtmail: set correct perms on make install
authorJon Trulson <jon@radscan.com>
Mon, 6 Jan 2020 03:53:03 +0000 (20:53 -0700)
committerJon Trulson <jon@radscan.com>
Mon, 6 Jan 2020 03:53:03 +0000 (20:53 -0700)
cde/programs/dtmail/dtmail/Makefile.am
cde/programs/dtsearchpath/dtappg/Makefile.am
cde/programs/dtsession/Makefile.am
cde/programs/dtterm/Makefile.am

index 29c68b141df9fdd1c0f9b16d5679360c7d90fbc9..e9f9c65ab36e397caf65691665576644430b67bf 100644 (file)
@@ -70,3 +70,8 @@ dtmail_SOURCES = AliasListUiItem.C               AlternatesListUiItem.C \
                 XmTextEditor.C                  XtArgCollector.C \
                 dtb_utils.C                     options_stubs.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
index 77840ff4780868e961a20fd037c544424d668255..07407343cb212449cb2d6fc5f38f92631ada9471 100644 (file)
@@ -11,3 +11,7 @@ dtappgather_LDADD += -ldl -lintl
 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
index bb2c831f84e1cea70e1295f04b7c3dd7778581e1..4e6726f8163efa916498b7e39b1b1018b3fedbdb 100644 (file)
@@ -116,3 +116,9 @@ sys.session: sys.session.src
 sys.session.ive: sys.session.src
        $(RM) $@
        $(GENCPP) -P -DXCOMM=# $(LOCAL_CPP_DEFINES) -DIVE $< > $@
+
+
+install-exec-hook:
+       chown root $(DESTDIR)$(CDE_INSTALLATION_TOP)/bin/dtsession
+       chmod 4755 $(DESTDIR)$(CDE_INSTALLATION_TOP)/bin/dtsession
+
index 0a6d3449ba87df0f24bb73fb97e5e43cbcfdeb8e..2e608877d74c4604a39351ba89cb8456eb1849ff 100644 (file)
@@ -42,3 +42,8 @@ DtTermFallBackResources.c: DtTermFallBackResources.c.src
 dtterm.ti: terminfoChecklist
        $(RM) $@
        CPP="$(GENCPP)" $(SHELL) terminfoCreate < terminfoChecklist > $@
+
+install-exec-hook:
+       chown root $(DESTDIR)$(CDE_INSTALLATION_TOP)/bin/dtterm
+       chmod 4755 $(DESTDIR)$(CDE_INSTALLATION_TOP)/bin/dtterm
+