build: $(MAKE) -C suid install: install -o root -g root -m 755 -d $(DESTDIR)/usr/lib/cgi-bin/piny/auth $(DESTDIR)/usr/sbin install -o root -g root -m 755 cgi-bin/checkconstraint.cgi cgi-bin/newuser.cgi $(DESTDIR)/usr/lib/cgi-bin/piny install -o root -g root -m 755 cgi-bin/auth/* -t $(DESTDIR)/usr/lib/cgi-bin/piny/auth install -o root -g shadow -m 4754 suid/piny-suid $(DESTDIR)/usr/sbin # FIXME: this should really be www-data somehow clean: $(MAKE) -C suid clean