From bce300a7f1a24404f2d04b7736277236bd925824 Mon Sep 17 00:00:00 2001 From: Thomas Fischer Date: Wed, 5 Apr 2017 13:52:03 +0200 Subject: [PATCH] Ensure that before install, all targets had been built --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 2b1d417..e9510eb 100644 --- a/src/Makefile +++ b/src/Makefile @@ -34,7 +34,7 @@ libosmpbf.so: fileformat.pb.o osmformat.pb.o # the same job as below line more complex. sed -e 's!@CMAKE_INSTALL_PREFIX@!'$(PREFIX)'!g;s!@OSMPBF_VERSION@!'$(VERSION)'!g' <$< >$@ -install: +install: all install -m 755 -d $(DESTDIR)$(LIBDIR) install -m 644 libosmpbf.a $(DESTDIR)$(LIBDIR) install -m 755 libosmpbf.so $(DESTDIR)$(LIBDIR)/libosmpbf.so.$(VERSION)