Patchwork libcacard: use INSTALL_DATA for data

login
register
mail settings
Submitter Brad
Date Aug. 13, 2011, 9:23 p.m.
Message ID <20110813212356.GA6981@rox.home.comstyle.com>
Download mbox | patch
Permalink /patch/109947/
State New
Headers show

Comments

Alon Levy - Aug. 13, 2011, 12:04 a.m.
On Sat, Aug 13, 2011 at 05:23:57PM -0400, Brad wrote:
> libcacard: use INSTALL_DATA for data
> 
> Signed-off-by: Brad Smith <brad@comstyle.com>
> 

Thanks, I'll add it to the next pull request.

> ---
>  libcacard/Makefile |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/libcacard/Makefile b/libcacard/Makefile
> index 5cd7594..fe9747a 100644
> --- a/libcacard/Makefile
> +++ b/libcacard/Makefile
> @@ -54,7 +54,7 @@ install-libcacard: libcacard.pc libcacard.la vscclient
>  	$(INSTALL_DIR) "$(DESTDIR)$(libcacard_includedir)"
>  	$(INSTALL_DIR) "$(DESTDIR)$(bindir)"
>  	libtool --mode=install $(INSTALL_PROG) vscclient "$(DESTDIR)$(bindir)"
> -	libtool --mode=install $(INSTALL_PROG) libcacard.la "$(DESTDIR)$(libdir)"
> +	libtool --mode=install $(INSTALL_DATA) libcacard.la "$(DESTDIR)$(libdir)"
>  	libtool --mode=install $(INSTALL_DATA) libcacard.pc "$(DESTDIR)$(libdir)/pkgconfig"
>  	for inc in *.h; do \
>  		libtool --mode=install $(INSTALL_DATA) $(libcacard_srcpath)/$$inc "$(DESTDIR)$(libcacard_includedir)"; \
> -- 
> 1.7.6
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
>
Brad - Aug. 13, 2011, 9:23 p.m.
libcacard: use INSTALL_DATA for data

Signed-off-by: Brad Smith <brad@comstyle.com>

---
 libcacard/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/libcacard/Makefile b/libcacard/Makefile
index 5cd7594..fe9747a 100644
--- a/libcacard/Makefile
+++ b/libcacard/Makefile
@@ -54,7 +54,7 @@  install-libcacard: libcacard.pc libcacard.la vscclient
 	$(INSTALL_DIR) "$(DESTDIR)$(libcacard_includedir)"
 	$(INSTALL_DIR) "$(DESTDIR)$(bindir)"
 	libtool --mode=install $(INSTALL_PROG) vscclient "$(DESTDIR)$(bindir)"
-	libtool --mode=install $(INSTALL_PROG) libcacard.la "$(DESTDIR)$(libdir)"
+	libtool --mode=install $(INSTALL_DATA) libcacard.la "$(DESTDIR)$(libdir)"
 	libtool --mode=install $(INSTALL_DATA) libcacard.pc "$(DESTDIR)$(libdir)/pkgconfig"
 	for inc in *.h; do \
 		libtool --mode=install $(INSTALL_DATA) $(libcacard_srcpath)/$$inc "$(DESTDIR)$(libcacard_includedir)"; \