Commit 584cbd10d32449f53c601be47a12b0e637a4c83c

Authored by Perry Werneck
1 parent 9777e0cd
Exists in master

Incluindo mudança do nome do zip quando o trace estiver habilitado.

Showing 2 changed files with 8 additions and 2 deletions   Show diff stats
Makefile.in
... ... @@ -119,9 +119,9 @@ Release: \
119 119 $(BINRLS)/$(LIBNAME)
120 120  
121 121 zip: \
122   - pw3270-sharp-@PACKAGE_VERSION@.@host@.zip
  122 + @ZIPNAME@-@PACKAGE_VERSION@.@host@.zip
123 123  
124   -pw3270-sharp-@PACKAGE_VERSION@.@host@.zip: \
  124 +@ZIPNAME@-@PACKAGE_VERSION@.@host@.zip: \
125 125 $(BINRLS)/$(GLUELIB) \
126 126 $(BINRLS)/$(LIBNAME) \
127 127 $(BINRLS)/sample.exe
... ...
configure.ac
... ... @@ -141,6 +141,7 @@ AC_SUBST(PACKAGE_MAJOR_VERSION,$app_vrs_major)
141 141 AC_SUBST(PACKAGE_MINOR_VERSION,$app_vrs_minor)
142 142  
143 143 app_cv_description="C# Bindings for lib3270/pw3270"
  144 +app_cv_zipname=$PACKAGE
144 145  
145 146 AC_DEFINE_UNQUOTED(PACKAGE_DESCRIPTION,"$app_cv_description")
146 147 AC_SUBST(PACKAGE_DESCRIPTION,"$app_cv_description")
... ... @@ -340,6 +341,7 @@ dnl ---------------------------------------------------------------------------
340 341 AC_ARG_ENABLE([trace],[AS_HELP_STRING([--enable-trace], [Enable creation of trace file])],[app_cv_trace="$enableval"],[app_cv_trace="no"])
341 342  
342 343 if test "$app_cv_trace" == "yes"; then
  344 + app_cv_zipname=${app_cv_zipname}-with-trace
343 345 AC_DEFINE(ENABLE_TRACE_TO_FILE)
344 346 fi
345 347  
... ... @@ -350,6 +352,10 @@ dnl ---------------------------------------------------------------------------
350 352 AC_SUBST(DLLFLAGS)
351 353 AC_SUBST(BASEDIR,$ac_pwd)
352 354  
  355 +AC_DEFINE_UNQUOTED(ZIPNAME, $app_cv_zipname)
  356 +AC_SUBST(ZIPNAME,$app_cv_zipname)
  357 +
  358 +
353 359 dnl ---------------------------------------------------------------------------
354 360 dnl Configure which files to generate.
355 361 dnl ---------------------------------------------------------------------------
... ...