mirror of
https://github.com/pbatard/rufus.git
synced 2024-08-14 23:57:05 +00:00
* default is enabled (=> add --without-freedos to disable) * also update the release process as a result * also update version to rufus next * also fixed FreeDOS embedded files lost when RC is edited in Visual Studio
15 lines
588 B
Makefile
15 lines
588 B
Makefile
SUBDIRS = src
|
|
TARGET = rufus
|
|
|
|
# This step produces the UPX compressed and signed releases that are made available for public download
|
|
release: all
|
|
@mv src/$(TARGET)$(EXEEXT) .
|
|
@$(STRIP) $(TARGET)$(EXEEXT)
|
|
@upx $(TARGET)$(EXEEXT)
|
|
@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
|