[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
This commit is contained in:
Pete Batard 2012-01-06 16:46:27 +00:00
parent 3187f71933
commit 55e6cd8023
9 changed files with 115 additions and 204 deletions

View file

@ -4,11 +4,12 @@ TARGET = rufus
# This step produces the UPX compressed and signed releases that are made available for public download
release: all
@mv src/$(TARGET)$(EXEEXT) .
@mv src/$(TARGET)_fd$(EXEEXT) .
@$(STRIP) $(TARGET)$(EXEEXT)
@$(STRIP) $(TARGET)_fd$(EXEEXT)
@upx $(TARGET)$(EXEEXT)
@upx $(TARGET)_fd$(EXEEXT)
@cmd.exe /k _sign.cmd $(TARGET)$(EXEEXT) $(TARGET)_fd$(EXEEXT)
@mv $(TARGET)$(EXEEXT) $(TARGET)_v$(VERSION)$(EXEEXT)
@mv $(TARGET)_fd$(EXEEXT) $(TARGET)_v$(VERSION)f$(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