From: Martin Mares Date: Tue, 12 Feb 2013 12:13:56 +0000 (+0100) Subject: make install X-Git-Tag: v1.3~10 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=afa214449abbade67fda9a69263fbeda3116e46a;p=suidgw.git make install --- diff --git a/Makefile b/Makefile index 9d2a584..d2f5945 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99 +DESTDIR=/ all: suidgw @@ -10,5 +11,8 @@ test-setup: chown testuser.nogroup scripts/quork chmod ug+s scripts/quork +install: all + install -o root -g root -m 4755 -s suidgw $(DESTDIR)/usr/bin/ + clean: rm -f suidgw *.o