patch-Makefile 731 B

123456789101112131415161718192021
  1. --- wput-0.6.1.orig/Makefile 2007-12-12 18:30:04.000000000 +0100
  2. +++ wput-0.6.1/Makefile 2010-02-06 04:45:45.273084356 +0100
  3. @@ -1,6 +1,6 @@
  4. #wput makefile
  5. PACKAGE = wput
  6. -prefix = /usr/local
  7. +prefix = /usr
  8. datadir = $(prefix)/share
  9. mandir = $(datadir)/man/man1
  10. exec_prefix = ${prefix}
  11. @@ -16,8 +16,8 @@ win-clean:
  12. install: all
  13. cd po && $(MAKE) $(MAKEDEFS) $@
  14. - install -m0755 wput $(bindir)
  15. - install -m0644 doc/wput.1.gz $(mandir)
  16. + install -m0755 wput $(DESTDIR)$(bindir)
  17. + install -m0644 doc/wput.1.gz $(DESTDIR)$(mandir)
  18. @echo "----------------"
  19. @echo "Wput installed. See 'wput -h' or 'man wput' for usage information."
  20. @echo "Further documentation is located in the doc/USAGE.* files."