diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-01-06 13:30:48 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-01-06 13:30:48 +0000 |
commit | 3a8648ba285491f67c75c92e5e532f2b6e74ad8b (patch) | |
tree | cbac62bd563e58f2205a2c60b9fd0145c22a0cc0 /Makefile | |
parent | 48421749c15ba7e2e527b91cf3c5cffee3465b5e (diff) |
Move rapid-tunneling-gui package into the main source package.
git-svn-id: svn+ssh://xorcom/home/svn/debs/components/rapid-tunneling@6557 283159da-0705-0410-b60c-f2062b4bb6ad
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -4,9 +4,12 @@ SPEC = rapid-tunneling.spec SCRIPTS = rapid-tunneling rapid-tunneling-status rtadm rt-from-remote CONFIGS = rtadm.config sshd_support_config support_env INIT_D = sshd_support -SOURCES = Makefile $(SPEC) $(SCRIPTS) $(CONFIGS) $(INIT_D) .placeholder +GUI = gui +SOURCES = Makefile $(SPEC) $(SCRIPTS) $(CONFIGS) $(INIT_D) $(GUI) .placeholder SBINDIR = /usr/sbin BINDIR = /usr/share/rapid-tunneling/bin +WWWROOT = /var/www/html +WWWHOME = $(WWWROOT)/support VER = $(shell awk '/^Version: / {print $$2}' $(SPEC)| head -n 1) RPM_REL = $(shell awk '/^Release: / {print $$2}' $(SPEC)| head -n 1) @@ -21,6 +24,7 @@ rpm: checkver $(SPEC) SOURCES/$(PACKAGE)-$(VER).tar.gz mkdir -p OUTPUT cp RPMS/noarch/rapid-tunneling-$(VER)-$(RPM_REL).noarch.rpm OUTPUT/ cp RPMS/noarch/rapid-tunneling-server-$(VER)-$(RPM_REL).noarch.rpm OUTPUT/ + cp RPMS/noarch/rapid-tunneling-gui-$(VER)-$(RPM_REL).noarch.rpm OUTPUT/ cp SRPMS/rapid-tunneling-$(VER)-$(RPM_REL).src.rpm OUTPUT/ deb: checkver @@ -53,6 +57,8 @@ install: install -m 644 sshd_support_config $(DESTDIR)/etc/ssh/ install -m 755 -d $(DESTDIR)/var/lib/rapid-tunneling install -m 644 .placeholder $(DESTDIR)/var/lib/rapid-tunneling/ + install -m 755 -d $(DESTDIR)$(WWWHOME) + install -m 644 gui/* $(DESTDIR)$(WWWHOME)/ .PHONY: clean dummy dummy: |