Blob Blame History Raw
diff -ruN wput-0.6.1.orig/Makefile.in wput-0.6.1.new/Makefile.in
--- wput-0.6.1.orig/Makefile.in	2007-12-12 15:30:04.000000000 -0200
+++ wput-0.6.1.new/Makefile.in	2008-10-26 20:09:36.000000000 -0200
@@ -16,8 +16,8 @@
 
 install: all
 	cd po && $(MAKE) $(MAKEDEFS) $@
-	install -m0755 wput $(bindir)
-	install -m0644 doc/wput.1.gz $(mandir)
+	install -D -p -m 0755 wput $(DESTDIR)$(bindir)/wput
+	install -D -p -m 0644 doc/wput.1.gz $(DESTDIR)$(mandir)/wput.1.gz
 	@echo "----------------"
 	@echo "Wput installed. See 'wput -h' or 'man wput' for usage information."
 	@echo "Further documentation is located in the doc/USAGE.* files."