--- Makefile.orig Wed Jan 14 16:29:58 2004 +++ Makefile Wed Jan 14 16:30:40 2004 @@ -1,6 +1,5 @@ -PREFIX = /usr/local -BINDEST = ${PREFIX}/bin -MANDEST = ${PREFIX}/man/man8 +BINDEST = ${DESTDIR}${PREFIX}/bin +MANDEST = ${DESTDIR}${PREFIX}/man/man8 CC = gcc CFLAGS = -O2 -Wall -I. -g @@ -20,18 +19,17 @@ netselect: netselect.o ${CC} ${LDFLAGS} -o $@ $^ ${LIBS} -ifdef OS2 - emxbind -bwq netselect -else - -sudo chown root netselect && sudo chmod u+s netselect -endif +#ifdef OS2 +# emxbind -bwq netselect +#else +# -sudo chown root netselect && sudo chmod u+s netselect +#endif install: $(PROG) -install -d ${BINDEST} #-install -d ${MANDEST} - install $(STRIP) -o root -g root -m 4755 \ + install $(STRIP) -o root -g wheel -m 4755 \ netselect${BINSUFFIX} ${BINDEST} - install -o root -g root -m 0755 netselect-apt ${BINDEST} #install -o root -g root -m 0644 netselect.8 ${MANDEST} uninstall: