Commit 1afaf7c027325e93634274fec0cc37a915cffd29

Authored by Perry Werneck
1 parent 1a7e4dfe

Adding target for zip file with binaries.

Showing 1 changed file with 14 additions and 0 deletions   Show diff stats
@@ -154,6 +154,20 @@ $(DESTDIR)/$(libdir)/pw3270-plugins/%@DLLEXT@: \ @@ -154,6 +154,20 @@ $(DESTDIR)/$(libdir)/pw3270-plugins/%@DLLEXT@: \
154 154
155 @$(MAKE) -C src/plugins/$(basename $(notdir $@)) install 155 @$(MAKE) -C src/plugins/$(basename $(notdir $@)) install
156 156
  157 +publish-release: \
  158 + $(BINRLS)/$(PACKAGE_TARNAME)@EXEEXT@
  159 +
  160 + @rm -f ~/public-html/release-$(PACKAGE_TARNAME)-@host_cpu@.zip
  161 + @zip \
  162 + -9 -D \
  163 + ~/public_html/release-$(PACKAGE_TARNAME)-@host_cpu@.zip \
  164 + $(BINRLS)/*
  165 +
  166 +run: \
  167 + $(BINDBG)/$(PACKAGE_TARNAME)@EXEEXT@
  168 +
  169 + @LD_LIBRARY_PATH=$(BINDBG) $(BINDBG)/$(PACKAGE_TARNAME)@EXEEXT@
  170 +
157 #---[ Install Rules ]-------------------------------------------------------------------- 171 #---[ Install Rules ]--------------------------------------------------------------------
158 172
159 install: \ 173 install: \