2011-12-05 11:19:05 +00:00
|
|
|
SUBDIRS = src
|
|
|
|
TARGET = rufus
|
|
|
|
|
2011-12-15 15:53:33 +00:00
|
|
|
# This step produces the UPX compressed and signed releases that are made available for public download
|
2011-12-05 11:19:05 +00:00
|
|
|
release: all
|
|
|
|
@mv src/$(TARGET)$(EXEEXT) .
|
|
|
|
@$(STRIP) $(TARGET)$(EXEEXT)
|
|
|
|
@upx $(TARGET)$(EXEEXT)
|
2012-01-06 16:46:27 +00:00
|
|
|
@mv $(TARGET)$(EXEEXT) $(TARGET)_v$(VERSION)$(EXESUFFIX)$(EXEEXT)
|
|
|
|
# Don't want to enter a password twice => only sign when we have both release files
|
|
|
|
@if [ -f $(TARGET)_v$(VERSION)f$(EXEEXT) ]; then \
|
|
|
|
if [ -f $(TARGET)_v$(VERSION)$(EXEEXT) ]; then \
|
|
|
|
cmd.exe /k _sign.cmd $(TARGET)_v$(VERSION)$(EXEEXT) $(TARGET)_v$(VERSION)f$(EXEEXT); \
|
|
|
|
fi; \
|
|
|
|
fi
|