summaryrefslogtreecommitdiff
path: root/pinyweb/Makefile
diff options
context:
space:
mode:
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