diff mbox series

[fsverity-utils] Restore installation of public header via make install

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

Commit Message

Luca Boccassi Oct. 29, 2020, 9:18 a.m. UTC
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(+)

Comments

Eric Biggers Oct. 29, 2020, 3:46 p.m. UTC | #1
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 mbox series

Patch

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)|" \