Patchwork libcacard: use INSTALL_DATA for data

login
register
mail settings
Submitter Alon Levy
Date July 28, 2011, 12:01 p.m.
Message ID <1311854492-18982-1-git-send-email-alevy@redhat.com>
Download mbox | patch
Permalink /patch/107245/
State New
Headers show

Comments

Alon Levy - July 28, 2011, 12:01 p.m.
Signed-off-by: Alon Levy <alevy@redhat.com>
---
 libcacard/Makefile |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

Patch

diff --git a/libcacard/Makefile b/libcacard/Makefile
index 15205b5..33c1302 100644
--- a/libcacard/Makefile
+++ b/libcacard/Makefile
@@ -56,9 +56,8 @@  install-libcacard: libcacard.pc libcacard.la vscclient
 	$(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_PROG) libcacard.pc "$(DESTDIR)$(libdir)/pkgconfig"
+	libtool --mode=install $(INSTALL_DATA) libcacard.pc "$(DESTDIR)$(libdir)/pkgconfig"
 	for inc in *.h; do \
-		libtool --mode=install $(INSTALL_PROG) $(libcacard_srcpath)/$$inc "$(DESTDIR)$(libcacard_includedir)"; \
+		libtool --mode=install $(INSTALL_DATA) $(libcacard_srcpath)/$$inc "$(DESTDIR)$(libcacard_includedir)"; \
 	done
-
 endif