Message ID | 20201029091828.3680106-1-luca.boccassi@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | [fsverity-utils] Restore installation of public header via make install | expand |
On Thu, Oct 29, 2020 at 09:18:27AM +0000, luca.boccassi@gmail.com wrote: > From: Luca Boccassi <luca.boccassi@microsoft.com> > > Fixes: 5ca4c55e3382 ("Makefile: generate libfsverity.pc during 'make install'") > > Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> > --- > I think this was removed by mistake? After the linked commit make install > does not install the header anymore > > Makefile | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Makefile b/Makefile > index a898ed4..bfe83c4 100644 > --- a/Makefile > +++ b/Makefile > @@ -206,6 +206,7 @@ install:all > install -m644 libfsverity.a $(DESTDIR)$(LIBDIR) > install -m755 libfsverity.so.$(SOVERSION) $(DESTDIR)$(LIBDIR) > ln -sf libfsverity.so.$(SOVERSION) $(DESTDIR)$(LIBDIR)/libfsverity.so > + install -m644 include/libfsverity.h $(DESTDIR)$(INCDIR) > sed -e "s|@PREFIX@|$(PREFIX)|" \ > -e "s|@LIBDIR@|$(LIBDIR)|" \ > -e "s|@INCDIR@|$(INCDIR)|" \ Applied, thanks. Sorry about that. - Eric
diff --git a/Makefile b/Makefile index a898ed4..bfe83c4 100644 --- a/Makefile +++ b/Makefile @@ -206,6 +206,7 @@ install:all install -m644 libfsverity.a $(DESTDIR)$(LIBDIR) install -m755 libfsverity.so.$(SOVERSION) $(DESTDIR)$(LIBDIR) ln -sf libfsverity.so.$(SOVERSION) $(DESTDIR)$(LIBDIR)/libfsverity.so + install -m644 include/libfsverity.h $(DESTDIR)$(INCDIR) sed -e "s|@PREFIX@|$(PREFIX)|" \ -e "s|@LIBDIR@|$(LIBDIR)|" \ -e "s|@INCDIR@|$(INCDIR)|" \