+ DESTDIR patch from Anthony Green (green at redhat dot com) - many thanks :-)
[melted] / src / humperdink / Makefile
index 2f0d4da..c27adae 100644 (file)
@@ -27,8 +27,8 @@ clean:
                rm -f $(OBJS) $(TARGET)
 
 install:       all
-       install -d "$(bindir)"
-       install -c -s -m 755 $(TARGET) "$(bindir)"
+       install -d "$(DESTDIR)$(bindir)"
+       install -c -s -m 755 $(TARGET) "$(DESTDIR)$(bindir)"
 
 ifneq ($(wildcard .depend),)
 include .depend