From 8e6a738439b233040636673ce0038f031c3189b9 Mon Sep 17 00:00:00 2001 From: perry.werneck@gmail.com Date: Tue, 26 Feb 2013 12:22:54 +0000 Subject: [PATCH] Incluindo construção das listas de arquivo para o .deb --- Makefile.in | 6 +++++- po/pt_BR.po | 8 ++++---- src/include/plugin.mak.in | 2 ++ src/plugins/dbus3270/Makefile.in | 7 +++++++ src/plugins/rx3270/Makefile.in | 5 +++++ 5 files changed, 23 insertions(+), 5 deletions(-) diff --git a/Makefile.in b/Makefile.in index 2e589ee..5bd064d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -109,6 +109,9 @@ endif debian/%.install: src/%/Makefile @$(MAKE) DEBDIR=../../debian -C $(dir $^) ../../$@ +debian/%.install: src/plugins/%/Makefile + @$(MAKE) DEBDIR=../../../debian -C $(dir $^) ../../../$@ + $(BINDIR)/pot/%.pot: src/%/Makefile @$(MAKE) BINDIR=../../$(BINDIR) -C $(dir $^) ../../$@ @@ -150,7 +153,8 @@ $(BINDIR)/Release@DLLDIR@/@DLLPREFIX@3270@DLLEXT@: src/lib3270/* src/include/lib #---[ File lists ]------------------------------------------------------------- -filelist: debian/lib3270-dev.install debian/lib3270.install debian/lib3270-dev.install debian/pw3270.install +filelist: debian/lib3270-dev.install debian/lib3270.install debian/lib3270-dev.install debian/pw3270.install \ + $(foreach PLUGIN, $(PLUGINS), debian/$(PLUGIN).install) debian/lib3270-dev.install: Makefile @echo " GEN `basename $@`" diff --git a/po/pt_BR.po b/po/pt_BR.po index ff3d778..58fd9b7 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: 2013-02-25 14:45-0300\n" +"POT-Creation-Date: 2013-02-26 07:23-0300\n" "PO-Revision-Date: 2013-02-25 14:46-0300\n" "Last-Translator: Perry Werneck \n" "Language-Team: Português <>\n" @@ -333,7 +333,7 @@ msgstr "Não foi possível conectar ao servidor" msgid "Can't convert line %d from %s to %s" msgstr "Não foi possível converter a linha %d de %s para %s" -#: selection.c:634 +#: selection.c:637 msgid "Can't cut rectangular regions" msgstr "Recortar não permitido em seleção retangular" @@ -854,7 +854,7 @@ msgstr "Invalid CGCSGID '%s', ignoring" msgid "Invalid charset entry '%s' (#%d)" msgstr "Invalid charset entry '%s' (#%d)" -#: selection.c:634 +#: selection.c:637 msgid "Invalid cut action" msgstr "Ação recortar inválida" @@ -960,7 +960,7 @@ msgstr "Normal/Protegido" msgid "Normal/Unprotected" msgstr "Normal/Desprotegido" -#: selection.c:634 +#: selection.c:637 msgid "Not available" msgstr "Não disponível" diff --git a/src/include/plugin.mak.in b/src/include/plugin.mak.in index 9ec20aa..d133135 100644 --- a/src/include/plugin.mak.in +++ b/src/include/plugin.mak.in @@ -36,6 +36,8 @@ BINDIR ?= $(ROOTDIR)/.bin BINDBG ?= $(BINDIR)/Debug BINRLS ?= $(BINDIR)/Release +DEBDIR ?= ./debian + OBJDBG = $(OBJDIR)/Debug OBJRLS = $(OBJDIR)/Release OBJEXT = o diff --git a/src/plugins/dbus3270/Makefile.in b/src/plugins/dbus3270/Makefile.in index cec2739..96a5fda 100644 --- a/src/plugins/dbus3270/Makefile.in +++ b/src/plugins/dbus3270/Makefile.in @@ -50,6 +50,8 @@ BINDIR ?= $(ROOTDIR)/.bin BINDBG ?= $(BINDIR)/Debug BINRLS ?= $(BINDIR)/Release +DEBDIR ?= ./debian + OBJDBG = $(OBJDIR)/Debug OBJRLS = $(OBJDIR)/Release OBJEXT = o @@ -138,6 +140,11 @@ install: $(BINRLS)/plugins/$(MODULE_NAME).so @$(MKDIR) $(DESTDIR)$(libdir)/$(PACKAGE_NAME)-plugins @$(INSTALL_PROGRAM) $(BINRLS)/plugins/$(MODULE_NAME).so $(DESTDIR)$(libdir)/$(PACKAGE_NAME)-plugins +$(DEBDIR)/$(MODULE_NAME).install: Makefile + @$(MKDIR) `dirname $@` + @rm -f $@ + @echo $(libdir)/$(PACKAGE_NAME)-plugins/$(MODULE_NAME).so > $@ + debug-service: $(BINDBG)/@PACKAGE_NAME@d dbus-glue.h: pw3270dbus.xml diff --git a/src/plugins/rx3270/Makefile.in b/src/plugins/rx3270/Makefile.in index dc639ec..ce7afe1 100644 --- a/src/plugins/rx3270/Makefile.in +++ b/src/plugins/rx3270/Makefile.in @@ -68,3 +68,8 @@ $(BINRLS)$(DLL_NAME).$(VERSION): $(foreach SRC, $(basename $(EXTAPI_SRC)), $(OBJ $(CXX) $(DLL_FLAGS) @LDSOFLAGS@ $(LDFLAGS) -o $@ $^ $(LIBS) $(LIB3270_LIBS) install: + +$(DEBDIR)/$(MODULE_NAME).install: Makefile + @$(MKDIR) `dirname $@` + @rm -f $@ + @echo $(libdir)/$(PACKAGE_NAME)-plugins/$(MODULE_NAME).so > $@ -- libgit2 0.21.2