diff -urN udpcast.orig/Makefile udpcast/Makefile --- udpcast.orig/Makefile 2003-03-25 21:34:57.000000000 +0000 +++ udpcast/Makefile 2003-03-25 21:35:24.000000000 +0000 @@ -4,6 +4,8 @@ LDFLAGS = -g -s LIBS=-lpthread +DESTDIR = + all: udp-receiver udp-sender udp-receiver.1.gz udp-sender.1.gz #all: fec-test @@ -15,8 +17,10 @@ rm -f *.o udp-sender udp-receiver udp-sender.1* udp-receiver.1* *~ install: all - install -m 555 udp-sender udp-receiver /usr/sbin - install -m 644 udp-sender.1.gz udp-receiver.1.gz /usr/share/man/man1 + mkdir -p $(DESTDIR)/usr/sbin + install -m 755 udp-sender udp-receiver $(DESTDIR)/usr/sbin + mkdir -p $(DESTDIR)/usr/share/man/man1 + install -m 644 udp-sender.1.gz udp-receiver.1.gz $(DESTDIR)/usr/share/man/man1 udp-sender: udp-sender.o socklib.o udpcast.o rate-limit.o \ sender-diskio.o senddata.o udps-negotiate.o \