Skip to content

Instantly share code, notes, and snippets.

@tmcw
Created October 29, 2013 21:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmcw/7223147 to your computer and use it in GitHub Desktop.
Save tmcw/7223147 to your computer and use it in GitHub Desktop.
diff --git a/Makefile b/Makefile
index 90702ae..64e14cf 100644
--- a/Makefile
+++ b/Makefile
@@ -28,10 +28,10 @@ check:
cppcheck --std=c++11 --enable=all -I include $(INCLUDE_FILES) */*.cpp test/t/*/test_*.cpp
install: doc
- install -m 755 -g root -o root -d $(DESTDIR)/usr/include
- install -m 755 -g root -o root -d $(DESTDIR)/usr/share/doc/libosmium-dev
- install -m 644 -g root -o root README.md $(DESTDIR)/usr/share/doc/libosmium-dev/README.md
- cp --recursive include/osmium $(DESTDIR)/usr/include
+ install -m 755 -g wheel -o root -d $(DESTDIR)/usr/include
+ install -m 755 -g wheel -o root -d $(DESTDIR)/usr/share/doc/libosmium-dev
+ install -m 644 -g wheel -o root README.md $(DESTDIR)/usr/share/doc/libosmium-dev/README.md
+ cp -r include/osmium $(DESTDIR)/usr/include
WARNINGFLAGS := -Wall -Wextra -pedantic -Wredundant-decls -Wdisabled-optimization -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-virtual -Wsign-promo -Winline -Wold-style-cast
#WARNINGFLAGS += -Weffc++
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment