/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 21:04:56 UTC
  • Revision ID: tim@ed.am-20140108210456-ep6ysunq9o5t7ejb
strip ./ from the path to the current file we're compiling so that, when
creating the dependencies directory, mkdir isn't given a path with ./ in (fixes
#12)

Show diffs side-by-side

added added

removed removed

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)