summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5fa0dc1..fb584ae 100644
--- a/Makefile
+++ b/Makefile
@@ -5,8 +5,10 @@ SCRIPTS = rapid-tunneling rapid-tunneling-status rtadm rt-from-remote
CONFIGS = rtadm.config sshd_support_config support_env rapid-tunneling.conf gui.htpasswd
INIT_D = sshd_support
GUI = gui
-SOURCES = Makefile $(SPEC) $(SCRIPTS) $(CONFIGS) $(INIT_D) $(GUI) .placeholder
+SOURCES = Makefile $(SPEC) $(SCRIPTS) $(CONFIGS) $(INIT_D) $(GUI) \
+ .placeholder rapid-tunneling.8 rapid-tunneling-status.8
SBINDIR = /usr/sbin
+MANDIR = /usr/share/man/man8
BINDIR = /usr/share/rapid-tunneling/bin
WWWROOT = /var/www/html
WWWHOME = $(WWWROOT)/support
@@ -47,6 +49,9 @@ install:
install -m 755 -d $(DESTDIR)$(SBINDIR)
install -m 755 rapid-tunneling $(DESTDIR)$(SBINDIR)
install -m 755 rapid-tunneling-status $(DESTDIR)$(SBINDIR)
+ install -d $(DESTDIR)$(MANDIR)
+ install -m 644 rapid-tunneling.8 $(DESTDIR)$(MANDIR)/
+ install -m 644 rapid-tunneling-status.8 $(DESTDIR)$(MANDIR)/
install -m 755 -d $(DESTDIR)/usr/share/rapid-tunneling
install -m 644 support_env $(DESTDIR)/usr/share/rapid-tunneling/
install -m 755 -d $(DESTDIR)$(BINDIR)