/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: 2014-01-08 20:24:16 UTC
  • Revision ID: tim@ed.am-20140108202416-n3uhux9wm9g52js9
remove use of non-portable sed -r

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)