From 80a7e04688dba21b2b0d5f53ffeea2a0461735dc Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 3 May 2019 22:06:15 +0200 Subject: [PATCH] data/y-web/scripts/Makefile.am: simplify; fix script permissions Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/e0b14d57892405a7d44aed5c57befa7fd6e6f80b Author: vanhofen Date: 2019-05-03 (Fri, 03 May 2019) Origin message was: ------------------ - data/y-web/scripts/Makefile.am: simplify; fix script permissions --- data/y-web/scripts/Makefile.am | 23 +++++++++++++---------- data/y-web/scripts/Y_Live.sh | 0 data/y-web/scripts/Y_NAS.sh | 0 data/y-web/scripts/Y_Tools.sh | 0 data/y-web/scripts/_Y_Globals.sh | 0 data/y-web/scripts/_Y_Library.sh | 0 data/y-web/scripts/api.sh | 0 7 files changed, 13 insertions(+), 10 deletions(-) mode change 100755 => 100644 data/y-web/scripts/Y_Live.sh mode change 100755 => 100644 data/y-web/scripts/Y_NAS.sh mode change 100755 => 100644 data/y-web/scripts/Y_Tools.sh mode change 100755 => 100644 data/y-web/scripts/_Y_Globals.sh mode change 100755 => 100644 data/y-web/scripts/_Y_Library.sh mode change 100755 => 100644 data/y-web/scripts/api.sh diff --git a/data/y-web/scripts/Makefile.am b/data/y-web/scripts/Makefile.am index 75e97a450..cc3c91023 100644 --- a/data/y-web/scripts/Makefile.am +++ b/data/y-web/scripts/Makefile.am @@ -1,15 +1,18 @@ -installdir = $(PRIVATE_HTTPDDIR)/scripts +installdir = $(PRIVATE_HTTPDDIR)/scripts -install_DATA= api.sh _Y_Globals.sh _Y_Library.sh Y_Live.sh Y_Tools.sh +install_SCRIPTS = \ + api.sh \ + _Y_Globals.sh \ + _Y_Library.sh \ + Y_Live.sh \ + Y_Tools.sh # file manager -install_DATA += Y_NAS.sh +install_SCRIPTS += \ + Y_NAS.sh # NI-yWeb -install_DATA += Y_NI_Camd-control.sh \ - Y_NI_Plugin-control.sh \ - Y_NI_Tools.sh - -install-data-hook: - chmod 0755 $(DESTDIR)$(PRIVATE_HTTPDDIR)/scripts/api.sh - chmod 0755 $(DESTDIR)$(PRIVATE_HTTPDDIR)/scripts/Y_*.sh +install_SCRIPTS += \ + Y_NI_Camd-control.sh \ + Y_NI_Plugin-control.sh \ + Y_NI_Tools.sh diff --git a/data/y-web/scripts/Y_Live.sh b/data/y-web/scripts/Y_Live.sh old mode 100755 new mode 100644 diff --git a/data/y-web/scripts/Y_NAS.sh b/data/y-web/scripts/Y_NAS.sh old mode 100755 new mode 100644 diff --git a/data/y-web/scripts/Y_Tools.sh b/data/y-web/scripts/Y_Tools.sh old mode 100755 new mode 100644 diff --git a/data/y-web/scripts/_Y_Globals.sh b/data/y-web/scripts/_Y_Globals.sh old mode 100755 new mode 100644 diff --git a/data/y-web/scripts/_Y_Library.sh b/data/y-web/scripts/_Y_Library.sh old mode 100755 new mode 100644 diff --git a/data/y-web/scripts/api.sh b/data/y-web/scripts/api.sh old mode 100755 new mode 100644