diff -uNr devfsd.orig/GNUmakefile devfsd/GNUmakefile
--- devfsd.orig/GNUmakefile	Mon Jul  3 19:29:12 2000
+++ devfsd/GNUmakefile	Sun Aug 20 21:35:55 2000
@@ -1,5 +1,5 @@
-SBINDIR =     /sbin
-CONFIG_FILE = /etc/devfsd.conf
+SBINDIR =     $(DESTDIR)/sbin
+CONFIG_FILE = $(DESTDIR)/etc/devfsd.conf
 
 nsl_libs := $(wildcard /lib/libnsl.*)
 ifneq ($(nsl_libs),)
@@ -21,16 +21,16 @@
 	cc -O2 -o devfsd $(OBJECTS) $(CFLAGS) -export-dynamic -ldl $(LIBS)
 
 install: devfsd
-	@if fgrep -q "Generic section: do not change" /etc/modules.conf ; then\
-		echo "First remove the generic devfs entries from /etc/modules.conf"; exit 1; \
+	@if fgrep -q "Generic section: do not change" $(DESTDIR)/etc/modules.conf ; then\
+		echo "First remove the generic devfs entries from $(DESTDIR)/etc/modules.conf"; exit 1; \
 	fi
 	rm -f $(SBINDIR)/devfsd
 	install -s devfsd $(SBINDIR)/devfsd
-	-rm -f /usr/man/*/devfsd.*
-	cp -p devfsd.8 /usr/man/man8
+	-rm -f $(DESTDIR)/usr/man/*/devfsd.*
+	cp -p devfsd.8 $(DESTDIR)/usr/man/man8
 	if [ ! -e $(CONFIG_FILE) ]; then cp -p devfsd.conf $(CONFIG_FILE); fi
-	@echo "Installing /etc/modules.devfs"
-	@sed "s/DEVFSD-VERSION/`grep '#define DEVFSD_VERSION' version.h | cut -d'"' -f 2`/" modules.devfs > /etc/modules.devfs
+	@echo "Installing $(DESTDIR)/etc/modules.devfs"
+	@sed "s/DEVFSD-VERSION/`grep '#define DEVFSD_VERSION' version.h | cut -d'"' -f 2`/" modules.devfs > $(DESTDIR)/etc/modules.devfs
 
 clean:
 	-rm -f *~ *.o *.orig
