summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-01-06 11:12:29 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-01-06 11:12:29 +0000
commit62549d8bde584228799cfc302ff6f67523c50481 (patch)
tree5693d86b2b70d2817c77bbe84ca20d33898035eb /Makefile
parent2167f8f1f9bbdc1943a4dbfd249447965e78b4b6 (diff)
Fix rapid-client deb generation and removal:
* Re-add /var/lib/rapid-tunneling . Add a placeholder file to keep it. * Fix user generation in postinst to not try again. * Delete user's home directory and remove user on purge. git-svn-id: svn+ssh://xorcom/home/svn/debs/components/rapid-tunneling@6555 283159da-0705-0410-b60c-f2062b4bb6ad
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 988aa0b..5d0e520 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ 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)
+SOURCES = Makefile $(SPEC) $(SCRIPTS) $(CONFIGS) $(INIT_D) .placeholder
SBINDIR = /usr/sbin
BINDIR = /usr/share/rapid-tunneling/bin
@@ -51,6 +51,8 @@ install:
install -m 644 rtadm.config $(DESTDIR)/etc/rapid-tunneling/rtadm
install -m 755 -d $(DESTDIR)/etc/ssh
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/
.PHONY: clean dummy
dummy: