Correction for an error with deb generation
This commit is contained in:
parent
6d6dceba1d
commit
da2387dc48
4
Makefile
4
Makefile
|
@ -8,6 +8,8 @@
|
|||
|
||||
default: debian/tyto.deb
|
||||
|
||||
VERSION=$(shell git describe --tags | cut -c 2-)
|
||||
|
||||
### MAKE DEB
|
||||
|
||||
.INTERMEDIATE: debian/control debian/debian-binary debian/control.tar.gz debian/data.tar.gz
|
||||
|
@ -21,7 +23,7 @@ debian/data.tar.gz:
|
|||
cd src && tar czvf ../debian/data.tar.gz usr var
|
||||
|
||||
debian/control: debian/control_template
|
||||
cat $< | sed "s/VERSION/`git describe --tags`/g" > $@
|
||||
cat $< | sed "s/VERSION/$(VERSION)/g" > $@
|
||||
|
||||
debian/control.tar.gz: debian/control
|
||||
cd debian && tar czvf control.tar.gz control #preinst postinst prerm postrm
|
||||
|
|
Loading…
Reference in New Issue