From 88b8f280e996c5b0d04d306dd0f0e09806a6547e Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Mon, 27 Dec 2010 13:49:05 -0800 Subject: Adding setuid wrapper. --- pinyweb/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'pinyweb/Makefile') 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 -- cgit v1.2.3