patch-Makefile_in 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. $OpenBSD: patch-Makefile_in,v 1.1 2007/10/26 20:31:19 ajacoutot Exp $
  2. --- Makefile.in.orig Tue Apr 25 04:41:39 1995
  3. +++ Makefile.in Fri Oct 26 22:20:02 2007
  4. @@ -25,7 +25,7 @@ bindir = ${exec_prefix}/bin
  5. binprefix =
  6. # Where the help file goes.
  7. -datadir = ${prefix}/share
  8. +datadir = ${prefix}/share/doc/cless
  9. mandir = ${prefix}/man/man${manext}
  10. manext = 1
  11. @@ -73,24 +73,24 @@ lesskey: lesskey.${O} version.${O}
  12. ${OBJ}: less.h defines.h funcs.h
  13. filename.${O}: filename.c
  14. - ${CC} -c -DHELPFILE=\"${datadir}/less.hlp\" -I. ${CPPFLAGS} ${CFLAGS} ${srcdir}/filename.c
  15. + ${CC} -c -DHELPFILE=\"${datadir}/cless.gb\" -I. ${CPPFLAGS} ${CFLAGS} ${srcdir}/filename.c
  16. install: all less.hlp less.bg5 less.gb less.nro installdirs
  17. - ${INSTALL_PROGRAM} less ${bindir}/${binprefix}less
  18. - ${INSTALL_PROGRAM} lesskey ${bindir}/${binprefix}lesskey
  19. - ${INSTALL_DATA} ${srcdir}/less.hlp ${datadir}/less.hlp
  20. - ${INSTALL_DATA} ${srcdir}/less.bg5 ${datadir}/less.bg5
  21. - ${INSTALL_DATA} ${srcdir}/less.gb ${datadir}/less.gb
  22. - ${INSTALL_DATA} ${srcdir}/less.nro ${mandir}/${manprefix}less.${manext}
  23. - ${INSTALL_DATA} ${srcdir}/lesskey.nro ${mandir}/${manprefix}lesskey.${manext}
  24. + ${INSTALL_PROGRAM} less ${bindir}/${binprefix}cless
  25. + ${INSTALL_PROGRAM} lesskey ${bindir}/${binprefix}clesskey
  26. + ${INSTALL_DATA} ${srcdir}/less.hlp ${datadir}/cless.hlp
  27. + ${INSTALL_DATA} ${srcdir}/less.bg5 ${datadir}/cless.bg5
  28. + ${INSTALL_DATA} ${srcdir}/less.gb ${datadir}/cless.gb
  29. + ${INSTALL_DATA} ${srcdir}/less.nro ${mandir}/${manprefix}cless.${manext}
  30. + ${INSTALL_DATA} ${srcdir}/lesskey.nro ${mandir}/${manprefix}clesskey.${manext}
  31. installdirs: mkinstalldirs
  32. ${srcdir}/mkinstalldirs ${bindir} ${datadir} ${mandir}
  33. uninstall:
  34. - rm -f ${bindir}/${binprefix}less ${bindir}/${binprefix}lesskey
  35. - rm -f ${datadir}/less.hlp ${datadir}/less.bg5 ${datadir}/less.gb
  36. - rm -f ${mandir}/less.${manext} ${mandir}/lesskey.${manext}
  37. + rm -f ${bindir}/${binprefix}cless ${bindir}/${binprefix}clesskey
  38. + rm -f ${datadir}/cless.hlp ${datadir}/cless.bg5 ${datadir}/cless.gb
  39. + rm -f ${mandir}/cless.${manext} ${mandir}/clesskey.${manext}
  40. info:
  41. install-info: