Ensure that before install, all targets had been built

This commit is contained in:
Thomas Fischer 2017-04-05 13:52:03 +02:00
parent e6a0026e51
commit bce300a7f1
1 changed files with 1 additions and 1 deletions

View File

@ -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)