Move remaining things into subfolders

master
Mikhail Novosyolov 3 years ago
parent 7602c14c53
commit 0e0647a195
  1. 2
      .gear/doskast.spec
  2. 6
      Makefile
  3. 0
      server-watcher/doskast-server-watcher.desktop
  4. 0
      server-watcher/doskast-server-watcher.sh
  5. 0
      student-connect/doskast-student-connect.sh
  6. 0
      webserver/doskast-trigger-connect.cgi

@ -73,7 +73,7 @@ Requires: %{_bindir}/pkexec
%build
%install
desktop-file-validate *.desktop
desktop-file-validate server-watcher/*.desktop
desktop-file-validate xpra-shadow/*.desktop
%makeinstall_std

@ -11,7 +11,7 @@ CGI_DIR ?= /var/www/cgi-bin
install:
# TODO: make a custom location with separate web server
mkdir -p --mode=0755 $(DESTDIR)$(CGI_DIR)
install -m0755 doskast-trigger-connect.cgi $(DESTDIR)$(CGI_DIR)
install -m0755 webserver/doskast-trigger-connect.cgi $(DESTDIR)$(CGI_DIR)
mkdir -p --mode=0755 $(DESTDIR)$(UNITDIR)
install -m0644 xpra-shadow/doskast-xpra-shadow.socket $(DESTDIR)$(UNITDIR)
@ -22,14 +22,14 @@ install:
mkdir -p --mode=0755 $(DESTDIR)$(BINDIR)
mkdir -p --mode=0755 $(DESTDIR)$(SBINDIR)
install -m0755 doskast-server-watcher.sh $(DESTDIR)$(BINDIR)/doskast-server-watcher
install -m0755 server-watcher/doskast-server-watcher.sh $(DESTDIR)$(BINDIR)/doskast-server-watcher
install -m0755 student-config/doskast-student-config.sh $(DESTDIR)$(SBINDIR)/doskast-student-config
echo -e '#!/bin/sh\npkexec $(SBINDIR)/doskast-student-config "$$@"' > $(DESTDIR)$(BINDIR)/doskast-student-config
chmod 0755 $(DESTDIR)$(BINDIR)/doskast-student-config
install -m0755 xpra-shadow/doskast-xpra-shadow.sh $(DESTDIR)$(BINDIR)/doskast-xpra-shadow
mkdir -p --mode=0755 $(DESTDIR)$(SYSCONFDIR)/xdg/autostart
install -m0644 doskast-server-watcher.desktop $(DESTDIR)$(SYSCONFDIR)/xdg/autostart
install -m0644 server-watcher/doskast-server-watcher.desktop $(DESTDIR)$(SYSCONFDIR)/xdg/autostart
install -m0644 xpra-shadow/doskast-xpra-shadow.desktop $(DESTDIR)$(SYSCONFDIR)/xdg/autostart
mkdir -p --mode=0755 $(DESTDIR)$(DATADIR)/polkit-1/actions

Loading…
Cancel
Save