summaryrefslogtreecommitdiff
path: root/pinyweb/Makefile
diff options
context:
space:
mode:
authorJulian Blake Kongslie <jblake@omgwallhack.org>2010-12-27 13:49:05 -0800
committerJulian Blake Kongslie <jblake@omgwallhack.org>2010-12-27 13:49:05 -0800
commit88b8f280e996c5b0d04d306dd0f0e09806a6547e (patch)
tree8957f317597a5bd986a9eba089e90b1df1d7495d /pinyweb/Makefile
parent8f342b641236d9c15530664c00889d00635b61f6 (diff)
downloadpiny-code-88b8f280e996c5b0d04d306dd0f0e09806a6547e.tar.gz
piny-code-88b8f280e996c5b0d04d306dd0f0e09806a6547e.zip
Adding setuid wrapper.
Diffstat (limited to 'pinyweb/Makefile')
-rw-r--r--pinyweb/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/pinyweb/Makefile b/pinyweb/Makefile
index 5b1f010..622f24c 100644
--- a/pinyweb/Makefile
+++ b/pinyweb/Makefile
@@ -1,5 +1,10 @@
build:
+ $(MAKE) -C suid
install:
- install -o root -g root -m 755 -d $(DESTDIR)/usr/lib/cgi-bin
+ install -o root -g root -m 755 -d $(DESTDIR)/usr/lib/cgi-bin $(DESTDIR)/usr/sbin
install -o root -g root -m 755 cgi-bin/* $(DESTDIR)/usr/lib/cgi-bin
+ install -o root -g www-data -m 4754 suid/piny-suid $(DESTDIR)/usr/sbin
+
+clean:
+ $(MAKE) -C suid clean