patch-GNUmakefile.in 1.1 KB

1234567891011121314151617181920212223242526
  1. --- ./GNUmakefile.in.orig 2013-11-24 15:43:48.000000000 -0800
  2. +++ ./GNUmakefile.in 2013-11-24 15:43:56.000000000 -0800
  3. @@ -40,16 +40,16 @@
  4. -include ${cxxdep}
  5. install: installdirs
  6. - ${INSTALL_DATA} LICENSE LICENSE.html ${prefix}
  7. - ${INSTALL_DATA} README README.html osi-certified-90x75.png ${prefix}
  8. - ${INSTALL_PROGRAM} ${exe} ${bindir}
  9. - ${INSTALL_SCRIPT} search.cgi ${prefix}/http
  10. - ${INSTALL_DATA} dtse_pb.png ${prefix}/http
  11. + ${INSTALL_DATA} LICENSE LICENSE.html ${DESTDIR}${prefix}
  12. + ${INSTALL_DATA} README README.html osi-certified-90x75.png ${DESTDIR}${prefix}
  13. + ${INSTALL_PROGRAM} ${exe} ${DESTDIR}${bindir}
  14. + ${INSTALL_SCRIPT} search.cgi ${DESTDIR}${prefix}/http
  15. + ${INSTALL_DATA} dtse_pb.png ${DESTDIR}${prefix}/http
  16. ${INSTALL_DATA} header.html body.html footer.html notfound.html \
  17. - pages.html ${prefix}/data
  18. + pages.html ${DESTDIR}${prefix}/data
  19. installdirs: mkinstalldirs
  20. - ./mkinstalldirs ${bindir} ${prefix}/http ${prefix}/data
  21. + ./mkinstalldirs ${DESTDIR}${bindir} ${DESTDIR}${prefix}/http ${DESTDIR}${prefix}/data
  22. clean:
  23. -rm -rf object ${exe} core $(patsubst %, %.core, ${exe}) $(patsubst %, \