Change library extension to .dylib Use unversioned doc dir Do not use GNU cp --parents flag --- Makefile.in.orig 2006-11-24 17:14:40.000000000 -0600 +++ Makefile.in 2014-09-04 22:28:40.000000000 -0500 @@ -16,7 +16,7 @@ install: install -g 0 -o 0 -m 755 -d $(prefix) install -g 0 -o 0 -m 755 -d $(prefix)/lib - install -g 0 -o 0 -m 755 src/libcolorer/libcolorer.so $(prefix)/lib + install -g 0 -o 0 -m 755 src/libcolorer/libcolorer.dylib $(prefix)/lib install -g 0 -o 0 -m 755 -d $(prefix)/bin install -g 0 -o 0 -m 755 src/colorer/colorer $(prefix)/bin @@ -32,10 +32,13 @@ chmod 0777 /tmp/colorer.log install -g 0 -o 0 -m 755 -d $(prefix)/share/doc - install -g 0 -o 0 -m 755 -d $(prefix)/share/doc/colorer-take5 - cp -r doc/* $(prefix)/share/doc/colorer-take5 + install -g 0 -o 0 -m 755 -d $(prefix)/share/doc/colorer + cp -r doc/* $(prefix)/share/doc/colorer install -g 0 -o 0 -m 755 -d $(prefix)/include install -g 0 -o 0 -m 755 -d $(prefix)/include/colorer - cd src/shared; cp --parents `find . -name '*.h'` $(prefix)/include/colorer + cd src/shared; for f in `find . -name '*.h'`; do \ + mkdir -p $(prefix)/include/colorer/`dirname $$f`; \ + cp $$f $(prefix)/include/colorer/`dirname $$f`; \ + done cd ../..