Created
April 18, 2012 20:58
-
-
Save springmeyer/2416505 to your computer and use it in GitHub Desktop.
allow OSM-binary install on osx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Makefile b/src/Makefile | |
index 16c3e97..b95a8b5 100644 | |
--- a/src/Makefile | |
+++ b/src/Makefile | |
@@ -16,12 +16,12 @@ libosmpbf.a: fileformat.pb.o osmformat.pb.o | |
cp *.pb.h ../include/osmpbf/ | |
install: | |
- install -m 755 -g root -o root -d $(DESTDIR)/usr/lib | |
- install -m 644 -g root -o root libosmpbf.a $(DESTDIR)/usr/lib | |
- install -m 755 -g root -o root -d $(DESTDIR)/usr/include/osmpbf | |
- install -m 644 -g root -o root ../include/osmpbf/osmpbf.h $(DESTDIR)/usr/include/osmpbf | |
- install -m 644 -g root -o root ../include/osmpbf/fileformat.pb.h $(DESTDIR)/usr/include/osmpbf | |
- install -m 644 -g root -o root ../include/osmpbf/osmformat.pb.h $(DESTDIR)/usr/include/osmpbf | |
+ install -m 755 -d $(DESTDIR)/usr/local/lib | |
+ install -m 644 libosmpbf.a $(DESTDIR)/usr/local/lib | |
+ install -m 755 -d $(DESTDIR)/usr/local/include/osmpbf | |
+ install -m 644 ../include/osmpbf/osmpbf.h $(DESTDIR)/usr/local/include/osmpbf | |
+ install -m 644 ../include/osmpbf/fileformat.pb.h $(DESTDIR)/usr/local/include/osmpbf | |
+ install -m 644 ../include/osmpbf/osmformat.pb.h $(DESTDIR)/usr/local/include/osmpbf | |
clean: | |
rm -f *.pb.h *.pb.cc *.pb.o libosmpbf.a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment