From 7ccfd9a3cfe3ed8d93ee4a736adc6438b67a3c59 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Fri, 20 Jan 2017 17:39:29 -0200 Subject: [PATCH] Ajustes para empacotamento. --- sdk/Makefile.in | 3 ++- sdk/pw3270.pc.in | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sdk/Makefile.in b/sdk/Makefile.in index 2411978..3b0b103 100644 --- a/sdk/Makefile.in +++ b/sdk/Makefile.in @@ -77,10 +77,11 @@ install-lib3270: \ install-pw3270: \ $(foreach SRC, $(notdir $(wildcard $(BASEDIR)/src/include/pw3270/*.h)), $(DESTDIR)$(includedir)/pw3270/$(SRC)) \ - $(DESTDIR)$(libdir)/pkgconfig/pw3270.pc \ $(DESTDIR)$(includedir)/pw3270.h \ $(DESTDIR)$(includedir)/pw3270cpp.h \ + @$(INSTALL_DATA) pw3270.pc $(DESTDIR)$(libdir)/pkgconfig/$(PACKAGE_TARNAME).pc + $(SRCDIR)/sdk: \ $(foreach SRC, $(notdir $(wildcard $(BASEDIR)/src/include/lib3270/*.h)), $(SRCDIR)/src/include/lib3270/$(SRC)) \ $(foreach SRC, $(notdir $(wildcard $(BASEDIR)/src/include/pw3270/*.h)), $(SRCDIR)/src/include/pw3270/$(SRC)) \ diff --git a/sdk/pw3270.pc.in b/sdk/pw3270.pc.in index 56e7003..d5b5b28 100644 --- a/sdk/pw3270.pc.in +++ b/sdk/pw3270.pc.in @@ -3,7 +3,7 @@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ -Name: pw3270 +Name: @PACKAGE_TARNAME@ Description: @PACKAGE@ GTK widgets and support calls for plugin development Version: @PACKAGE_VERSION@ Libs: -L\@libdir@ -l@PACKAGE_TARNAME@ -- libgit2 0.21.2