OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
2.0 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../ed/destdir.patch
  5. # Copyright (C) 2006 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- ./Makefile.in.orig 2006-08-03 21:12:43.000000000 +0000
  17. +++ ./Makefile.in 2006-08-03 21:30:05.000000000 +0000
  18. @@ -99,20 +99,18 @@
  19. $(TEXI2DVI) $(srcdir)/ed.texinfo
  20. install: ed ed.info installdirs
  21. - $(INSTALL_PROGRAM) ed $(bindir)/$(binprefix)ed
  22. - rm -f $(bindir)/$(binprefix)red
  23. - cd $(bindir); \
  24. - $(LN_S) $(binprefix)ed $(binprefix)red
  25. - $(INSTALL_DATA) $(srcdir)/ed.info $(infodir)/$(binprefix)ed.info
  26. - $(INSTALL_DATA) $(srcdir)/ed.1 $(mandir)/$(binprefix)ed$(manext)
  27. - rm -f $(mandir)/$(binprefix)red$(manext)
  28. - cd $(mandir); \
  29. - $(LN_S) $(binprefix)ed$(manext) $(binprefix)red$(manext)
  30. + $(INSTALL_PROGRAM) ed $(DESTDIR)$(bindir)/$(binprefix)ed
  31. + rm -f $(DESTDIR)$(bindir)/$(binprefix)red
  32. + $(LN_S) $(binprefix)ed $(DESTDIR)$(bindir)/$(binprefix)red
  33. + $(INSTALL_DATA) $(srcdir)/ed.info $(DESTDIR)$(infodir)/$(binprefix)ed.info
  34. + $(INSTALL_DATA) $(srcdir)/ed.1 $(DESTDIR)$(mandir)/$(binprefix)ed$(manext)
  35. + rm -f $(DESTDIR)$(mandir)/$(binprefix)red$(manext)
  36. + $(LN_S) $(binprefix)ed$(manext) $(DESTDIR)$(mandir)/$(binprefix)red$(manext)
  37. # Make sure all installation directories, e.g. $(bindir) actually exist by
  38. # making them if necessary.
  39. installdirs:
  40. - $(srcdir)/mkinstalldirs $(bindir) $(infodir) $(mandir)
  41. + $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) $(DESTDIR)$(mandir)
  42. uninstall: all
  43. rm -f $(bindir)/$(binprefix)ed $(bindir)/$(binprefix)red