1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00
rufus/Makefile.am
Pete Batard 55e6cd8023 [mingw] added --with-freedos to configure
* 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
2012-01-06 16:46:27 +00:00

15 lines
No EOL
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