2011-12-05 12:19:05 +01:00
|
|
|
SUBDIRS = src
|
|
|
|
TARGET = rufus
|
|
|
|
|
2011-12-15 16:53:33 +01:00
|
|
|
# This step produces the UPX compressed and signed releases that are made available for public download
|
2011-12-05 12:19:05 +01:00
|
|
|
release: all
|
|
|
|
@mv src/$(TARGET)$(EXEEXT) .
|
|
|
|
@$(STRIP) $(TARGET)$(EXEEXT)
|
|
|
|
@upx $(TARGET)$(EXEEXT)
|
2012-01-06 17:46:27 +01: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
|