X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=pyfrprog.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=43ae795e9afadce11ed4d5a29bbaf6cfbe893322;hp=9f3c3b96381389bd8caf1c5459528ef21311aad0;hb=31898950d88ea5a8565c83126b0f02a63cbbbc3a;hpb=fabfc9c00a17e8eb37ee24d752900e58ea61fe78 diff --git a/Makefile b/Makefile index 9f3c3b9..43ae795 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ all: #install: all #this just work when $FUJDEV is set for root too, eh? install: - sed -e 's/%PREFIX%/\$(PREFIX)/g' frprog.py > $(PREFIX)/bin/frprog + sed -e 's/%PREFIX%/\$(PREFIX)/g' frprog.py | sed -e 's/%VERSION%/$(shell git describe --abbrev=6)/g'> $(PREFIX)/bin/frprog cp SerialPort_linux.pyc $(PREFIX)/bin/SerialPort_linux.pyc mkdir -p $(PREFIX)/share/frprog/ cp pkernel/pkernel.mhx $(PREFIX)/share/frprog/pkernel.mhx