Commit | Line | Data |
---|---|---|
1 | #!/bin/bash | |
2 | ||
3 | arch=`dpkg-architecture -qDEB_HOST_ARCH` | |
4 | version=`grep VERSION= Makefile | cut -d = -f 2` | |
5 | package=`grep PACKAGE= Makefile | cut -d = -f 2` | |
6 | maintainer="gandalf <gandalf@arachne.cz>" | |
7 | control=debian/prometheus.control | |
8 | ||
9 | #patch -Nl <debian/prometheus.patch | |
10 | ||
11 | sed -e "s/__ARCHITECTURE__/$arch/" \ | |
12 | -e "s/__VERSION__/$version/" \ | |
13 | -e "s/__PACKAGE__/$package/" \ | |
14 | -e "s/__MAINTAINER__/$maintainer/" \ | |
15 | $control > debian/control | |
16 | ||
17 |