From 5d3eadec55693d53357a4d1e45047d1d2153301d Mon Sep 17 00:00:00 2001 From: perry.werneck@gmail.com Date: Wed, 2 May 2012 19:40:25 +0000 Subject: [PATCH] Ajustes para construção do .deb --- Makefile.in | 2 ++ debian.rules | 4 ++-- src/gtk/Makefile.in | 5 ++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile.in b/Makefile.in index 40e085e..055ab4e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -72,6 +72,8 @@ endif #---[ Release targets ]-------------------------------------------------------- +all: $(BINDIR)/Release/$(PACKAGE_TARNAME)$(EXEEXT) + Release: $(BINDIR)/Release/$(PACKAGE_TARNAME)$(EXEEXT) $(BINDIR)/Release/$(PACKAGE_TARNAME)$(EXEEXT): src/gtk/* $(BINDIR)/Release/lib/@DLLPREFIX@3270@DLLEXT@ $(DEPENDS) diff --git a/debian.rules b/debian.rules index bb455c1..5eb684e 100644 --- a/debian.rules +++ b/debian.rules @@ -21,7 +21,7 @@ build-stamp: # Add here commands to compile the package. ./configure - make all + make Release # --- end custom part for compiling touch build-stamp @@ -45,7 +45,7 @@ install: build # Add here commands to install the package # The DESTDIR Has To Be Exactly /usr/src/packages/BUILD/debian/ - make install DESTDIR=/usr/src/packages/BUILD/debian/ace + make install DESTDIR=/usr/src/packages/BUILD/debian/pw3270 # --- end custom part for installing # Build architecture-independent files here. diff --git a/src/gtk/Makefile.in b/src/gtk/Makefile.in index 96de93d..0e6354a 100644 --- a/src/gtk/Makefile.in +++ b/src/gtk/Makefile.in @@ -75,10 +75,9 @@ install: Release $(BINDIR)/Release/$(PACKAGE_TARNAME)$(EXEEXT): $(foreach SRC, $(basename $(SOURCES)), $(OBJDIR)/Release/$(SRC)$(OBJEXT)) - @echo $@ ... + @echo " CCLD `basename $@`" @$(MKDIR) `dirname $@` - ls -l ../../.bin/Release/lib - $(LD) -o $@ $^ $(LIBS) $(LIB3270_LIBS) + @$(LD) -o $@ $^ $(LIBS) $(LIB3270_LIBS) #---[ Debug targets ]---------------------------------------------------------- -- libgit2 0.21.2