/make/arduino-mk

To get this branch, use:
bzr branch http://bzr.ed.am/make/arduino-mk

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Tim Marston
  • Date: 2013-07-05 16:30:19 UTC
  • Revision ID: tim@ed.am-20130705163019-sjm4ndbkjifj87u5
be stricter when extracting parameters from boards.txt

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# makefile to package the arduino makefile
2
 
 
3
 
FILES := \
4
 
        arduino.mk \
5
 
        NEWS \
6
 
        THANKS \
7
 
        TODO
8
 
 
9
 
VERSION := $(shell sed -n '5s/^\#.* //p' arduino.mk)
10
 
 
11
 
all: 
12
 
        tar -cJvf arduino-mk_$(VERSION).txz $(FILES)
13
 
 
14
 
clean:
15
 
        rm arduino-mk_*.txz