Skip to content

Commit

Permalink
Improve release make target.
Browse files Browse the repository at this point in the history
  • Loading branch information
rdoeffinger committed Apr 23, 2016
1 parent 8f751fb commit 53fa0f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion impl11/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# No header dependency generation/handling yet
# No compilation of shaders

VERSION:=1.4.2
VERSION:=$(shell grep FileVersion ddraw/ddraw.rc | sed -e 's/.*, "//' -e 's/"//')

.SUFFIXES:

Expand All @@ -28,5 +28,7 @@ xwing_ddraw_d3d11_$(VERSION).zip: ddraw/ddraw.cfg Release/ddraw.dll ../LICENSE.t
7z a -mx9 $@ $(addprefix ./,$^)

release: xwing_ddraw_d3d11_$(VERSION).zip
gpg -ab $^
git tag -s v$(VERSION)

.PHONY: all clean release

0 comments on commit 53fa0f5

Please sign in to comment.