destdir.diff 623 B

1234567891011121314151617
  1. diff -ur CoinMP-1.8.3.orig/CoinMP/Makefile.am CoinMP-1.8.3/CoinMP/Makefile.am
  2. --- CoinMP-1.8.3.orig/CoinMP/Makefile.am 2015-01-27 22:55:44.000000000 -0800
  3. +++ CoinMP-1.8.3/CoinMP/Makefile.am 2018-06-25 09:44:47.242918098 -0700
  4. @@ -57,9 +57,10 @@
  5. pkgconfiglibdir = $(libdir)/pkgconfig
  6. pkgconfiglib_DATA = coinmp.pc
  7. -addlibsdir = $(DESTDIR)$(datadir)/coin/doc/CoinMP
  8. +datacoindir = $(datadir)/coin/doc/CoinMP
  9. +datacoin_DATA = examples/Makefile examples/example.c
  10. -addlibs_DATA = examples/Makefile examples/example.c
  11. +addlibsdir = $(DESTDIR)$(datadir)/coin/doc/CoinMP
  12. install-data-hook:
  13. @$(mkdir_p) "$(addlibsdir)"