preparing release

This commit is contained in:
Ronald Schaten 2008-07-10 19:00:59 +00:00
parent 7e4644e969
commit 44cd66f157
2 changed files with 13 additions and 4 deletions

View File

@ -1,5 +1,5 @@
$Id: Changelog.txt,v 1.1 2008/07/09 20:47:11 rschaten Exp $ $Id: Changelog.txt,v 1.2 2008/07/10 19:00:59 rschaten Exp $
* Release 080709 * Release 080710
- initial release - initial release

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.1 2008/07/09 20:47:11 rschaten Exp $ # $Id: Makefile,v 1.2 2008/07/10 19:00:59 rschaten Exp $
# #
# Creates documentation and tarball for shipping. # Creates documentation and tarball for shipping.
@ -43,12 +43,21 @@ fw:
make -C firmware make -C firmware
mv -v firmware/main.hex firmware/main_$(TODAY).hex mv -v firmware/main.hex firmware/main_$(TODAY).hex
tarball: fw clean docs bl:
make -C bootloader
mv -v bootloader/main.hex bootloader/main_$(TODAY).hex
circuitpdf:
@echo "converting circuits to pdf"
for i in circuit/*.ps; do ps2pdf -sPAPERSIZE=a4 $$i $$(echo $$i | sed -e "s/\.ps$$/.pdf/"); done
tarball: fw bl circuitpdf clean docs
@echo @echo
@echo @echo
@echo "I assume you updated the Changelog...? Press Enter to continue..." @echo "I assume you updated the Changelog...? Press Enter to continue..."
@read @read
[ -e "firmware/main_$(TODAY).hex" ] || exit [ -e "firmware/main_$(TODAY).hex" ] || exit
[ -e "bootloader/main_$(TODAY).hex" ] || exit
rm --force $(PACKETNAME).tar.gz; \ rm --force $(PACKETNAME).tar.gz; \
tar --directory=.. \ tar --directory=.. \
--exclude=$(DIR)/Makefile \ --exclude=$(DIR)/Makefile \