fix libtomcrypt.pc installation

This commit is contained in:
Steffen Jaeckel 2017-05-08 17:36:55 +02:00
parent abe9116de5
commit 794a416715
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -70,6 +70,7 @@ timing.exe
*.gcda *.gcda
*.gcno *.gcno
*.gcov *.gcov
libtomcrypt.pc
coverage/ coverage/
coverage*.info coverage*.info

View File

@ -244,7 +244,7 @@ install: $(LIBNAME)
install -d $(INCPATH) install -d $(INCPATH)
$(LT) --mode=install install -c $(LIBNAME) $(LIBPATH)/$(LIBNAME) $(LT) --mode=install install -c $(LIBNAME) $(LIBPATH)/$(LIBNAME)
install -m 644 $(HEADERS) $(INCPATH) install -m 644 $(HEADERS) $(INCPATH)
sed -e 's,^prefix=.*,prefix=$(DESTDIR),' -e 's,^Version:.*,Version: $(VERSION),' libtomcrypt.pc.in > $(LIBPATH)/pkgconfig/libtomcrypt.pc sed -e 's,^prefix=.*,prefix=$(DESTDIR),' -e 's,^Version:.*,Version: $(VERSION),' libtomcrypt.pc.in > libtomcrypt.pc
install -m 644 libtomcrypt.pc $(LIBPATH)/pkgconfig/libtomcrypt.pc install -m 644 libtomcrypt.pc $(LIBPATH)/pkgconfig/libtomcrypt.pc
install_bins: $(USEFUL_DEMOS) install_bins: $(USEFUL_DEMOS)