Commit 5d3eadec55693d53357a4d1e45047d1d2153301d

Authored by perry.werneck@gmail.com
1 parent 3fba932d

Ajustes para construção do .deb

Makefile.in
... ... @@ -72,6 +72,8 @@ endif
72 72  
73 73 #---[ Release targets ]--------------------------------------------------------
74 74  
  75 +all: $(BINDIR)/Release/$(PACKAGE_TARNAME)$(EXEEXT)
  76 +
75 77 Release: $(BINDIR)/Release/$(PACKAGE_TARNAME)$(EXEEXT)
76 78  
77 79 $(BINDIR)/Release/$(PACKAGE_TARNAME)$(EXEEXT): src/gtk/* $(BINDIR)/Release/lib/@DLLPREFIX@3270@DLLEXT@ $(DEPENDS)
... ...
debian.rules
... ... @@ -21,7 +21,7 @@ build-stamp:
21 21  
22 22 # Add here commands to compile the package.
23 23 ./configure
24   - make all
  24 + make Release
25 25 # --- end custom part for compiling
26 26  
27 27 touch build-stamp
... ... @@ -45,7 +45,7 @@ install: build
45 45  
46 46 # Add here commands to install the package
47 47 # The DESTDIR Has To Be Exactly /usr/src/packages/BUILD/debian/<nameOfPackage>
48   - make install DESTDIR=/usr/src/packages/BUILD/debian/ace
  48 + make install DESTDIR=/usr/src/packages/BUILD/debian/pw3270
49 49 # --- end custom part for installing
50 50  
51 51 # Build architecture-independent files here.
... ...
src/gtk/Makefile.in
... ... @@ -75,10 +75,9 @@ install: Release
75 75  
76 76 $(BINDIR)/Release/$(PACKAGE_TARNAME)$(EXEEXT): $(foreach SRC, $(basename $(SOURCES)), $(OBJDIR)/Release/$(SRC)$(OBJEXT))
77 77  
78   - @echo $@ ...
  78 + @echo " CCLD `basename $@`"
79 79 @$(MKDIR) `dirname $@`
80   - ls -l ../../.bin/Release/lib
81   - $(LD) -o $@ $^ $(LIBS) $(LIB3270_LIBS)
  80 + @$(LD) -o $@ $^ $(LIBS) $(LIB3270_LIBS)
82 81  
83 82 #---[ Debug targets ]----------------------------------------------------------
84 83  
... ...