--- netselect-0.3.ds1.orig/Makefile
+++ netselect-0.3.ds1/Makefile
@@ -1,6 +1,6 @@
PREFIX = /usr/local
BINDEST = ${PREFIX}/bin
-MANDEST = ${PREFIX}/man/man8
+MANDEST = ${PREFIX}/man/man1
CC = gcc
CFLAGS = -O2 -Wall -I. -g
@@ -20,23 +20,29 @@
netselect: netselect.o
${CC} ${LDFLAGS} -o $@ $^ ${LIBS}
+
+install: $(PROG)
+
ifdef OS2
emxbind -bwq netselect
else
- -sudo chown root netselect && sudo chmod u+s netselect
+ chown root netselect && chmod u+s netselect
endif
-
-install: $(PROG)
+
-install -d ${BINDEST}
- #-install -d ${MANDEST}
- install $(STRIP) -o root -g root -m 4755 \
+ -install -d ${MANDEST}
+ install -o root -g root -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}
+ install -o root -g root -m 0644 netselect.1 ${MANDEST}
+ install -o root -g root -m 0644 netselect-apt.1 ${MANDEST}
+
uninstall:
$(RM) ${BINDEST}/netselect${BINSUFFIX} ${BINDEST}/netselect-apt
- $(RM) ${MANDEST}/netselect.8
+ $(RM) ${MANDEST}/netselect.1
+ $(RM) ${MANDEST}/netselect-apt.1
clean:
$(RM) netselect netselect${BINSUFFIX} *.o *~ build-stamp core
+ $(RM) mirrors_full