Removing DESTDIR from install prefix

This commit is contained in:
Thomas Fischer 2016-01-29 09:30:01 +01:00
parent bdd69a147a
commit 5d7689676c
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ libosmpbf.so: fileformat.pb.o osmformat.pb.o
# The placeholder for the installation prefix is '@CMAKE_INSTALL_PREFIX@'.
# Do not change that, it would only make the CMakeLists.txt file which does
# the same job as below line more complex.
sed -e 's!@CMAKE_INSTALL_PREFIX@!'$(DESTDIR)$(PREFIX)'!g' <$< >$@
sed -e 's!@CMAKE_INSTALL_PREFIX@!'$(PREFIX)'!g' <$< >$@
install:
install -m 755 -d $(DESTDIR)$(LIBDIR)