From de2e8e26202ae5e95a937a11044dad52d4ba8239 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Fri, 16 Dec 2016 16:04:24 -0200 Subject: [PATCH] Ajustando empacotamento sdk --- Makefile.in | 1 + po/pt_BR.po | 2 +- src/classlib/Makefile.in | 12 +++++++++--- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in index 2f24fa0..f7f6494 100644 --- a/Makefile.in +++ b/Makefile.in @@ -360,6 +360,7 @@ install-man: @$(INSTALL_DATA) man/man5/pw3270.5 $(DESTDIR)/$(mandir)/man5/pw3270.5 install-sdk: + @$(MKDIR) $(DESTDIR)$(includedir)/lib3270 @$(INSTALL_DATA) src/include/lib3270.h $(DESTDIR)/$(includedir) @$(INSTALL_DATA) src/include/lib3270/config.h $(DESTDIR)/$(includedir)/lib3270 diff --git a/po/pt_BR.po b/po/pt_BR.po index 9e207d9..d8bd910 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: pw3270 5.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-11 04:37-0200\n" +"POT-Creation-Date: 2016-12-16 16:03-0200\n" "PO-Revision-Date: 2016-10-25 10:47-0200\n" "Last-Translator: Perry Werneck \n" "Language-Team: Português \n" diff --git a/src/classlib/Makefile.in b/src/classlib/Makefile.in index 6319aa9..94983fc 100644 --- a/src/classlib/Makefile.in +++ b/src/classlib/Makefile.in @@ -34,6 +34,7 @@ include class.mak #---[ Paths ]------------------------------------------------------------------ prefix=@prefix@ +exec_prefix=@exec_prefix@ datarootdir=@datarootdir@ includedir=@includedir@ libdir=@libdir@ @@ -137,14 +138,19 @@ $(BINDBG)/$(LIBNAME): $(foreach SRC, $(basename $(CLASS_SRC)), $(OBJDBG)/$(SRC). @ar rs $@ $^ #---[ Misc targets ]----------------------------------------------------------- -install-sdk: $(BINRLS)/$(LIBNAME) +install-sdk: \ + $(BINRLS)/$(LIBNAME) + @$(MKDIR) $(DESTDIR)$(datarootdir)/$(PACKAGE)/sample/classlib @$(INSTALL_DATA) *.cc $(DESTDIR)$(datarootdir)/$(PACKAGE)/sample/classlib + @$(MKDIR) $(DESTDIR)/$(includedir)/pw3270 @$(INSTALL_DATA) ../include/pw3270/class.h $(DESTDIR)/$(includedir)/pw3270 + @$(LN_S) ./pw3270/class.h $(DESTDIR)/$(includedir)/$(PACKAGE)cpp.h - @$(MKDIR) $(DESTDIR)$(libdir) - @$(INSTALL_DATA) $(BINRLS)/$(LIBNAME) $(DESTDIR)$(libdir) + + @$(MKDIR) $(DESTDIR)/$(libdir) + @$(INSTALL_DATA) $(BINRLS)/$(LIBNAME) $(DESTDIR)/$(libdir) cleanDebug: clean -- libgit2 0.21.2