Skip to content

Commit

Permalink
Update makefiles to git release tags and directories
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Dunkels committed Sep 6, 2011
1 parent ab0c04b commit d3df8bc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion tools/release-tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ifndef TAG
${error You must specify the RELEASE variable (e.g. make RELEASE=2.5)}
endif
RELEASETAG=$(subst .,-,$(RELEASE))
TAG=contiki-$(RELEASETAG)
TAG=$(RELEASE)
else
RELEASE=$(TAG)
endif
Expand Down
14 changes: 7 additions & 7 deletions tools/release-tools/Makefile.raven
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
contiki-raven:
(cd contiki-2.x/examples/webserver-ipv6-raven; make)
(cd contiki-2.x/platform/avr-ravenlcd; make)
(cd contiki-2.x/examples/ravenusbstick; make)
(cd contiki/examples/webserver-ipv6-raven; make)
(cd contiki/platform/avr-ravenlcd; make)
(cd contiki/examples/ravenusbstick; make)
mkdir contiki-raven-$(RELEASE)
cp contiki-2.x/examples/webserver-ipv6-raven/webserver6.elf contiki-raven-$(RELEASE)
cp contiki-2.x/platform/avr-ravenlcd/ravenlcd_3290.elf contiki-raven-$(RELEASE)
cp contiki-2.x/examples/ravenusbstick/ravenusbstick.elf contiki-raven-$(RELEASE)
cp contiki-2.x/cpu/avr/dev/usb/INF/*.inf contiki-raven-$(RELEASE)
cp contiki/examples/webserver-ipv6-raven/webserver6.elf contiki-raven-$(RELEASE)
cp contiki/platform/avr-ravenlcd/ravenlcd_3290.elf contiki-raven-$(RELEASE)
cp contiki/examples/ravenusbstick/ravenusbstick.elf contiki-raven-$(RELEASE)
cp contiki/cpu/avr/dev/usb/INF/*.inf contiki-raven-$(RELEASE)

contiki-raven-$(RELEASE).zip: contiki-raven
tar czf contiki-raven-$(RELEASE).tar.gz contiki-raven-$(RELEASE)
Expand Down
4 changes: 2 additions & 2 deletions tools/release-tools/Makefile.sky
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
contiki-collect-sky:
(cd contiki-2.x/tools/collect-view/; ant dist && chmod 755 dist/tools/*-linux)
cp -r contiki-2.x/tools/collect-view/dist contiki-collect-sky-$(RELEASE)
(cd contiki/tools/collect-view/; ant dist && chmod 755 dist/tools/*-linux)
cp -r contiki/tools/collect-view/dist contiki-collect-sky-$(RELEASE)

contiki-collect-sky-$(RELEASE).zip: contiki-collect-sky
zip -r contiki-collect-sky-$(RELEASE).zip contiki-collect-sky-$(RELEASE)
Expand Down

0 comments on commit d3df8bc

Please sign in to comment.