Upgraded our Debian package to 5.0
[strongswan.git] / packages / strongswan / Makefile
1
2 SOURCE=../..
3 VERSION:=5.0.1dr1
4
5 source: prepare
6 cd build/strongswan-$(VERSION) && debuild -S
7
8 prepare: clean
9 mkdir build
10 make -C $(SOURCE) dist-gzip
11 mv $(SOURCE)/strongswan-$(VERSION).tar.gz build/strongswan_$(VERSION).orig.tar.gz
12 tar -zxv -C build -f build/strongswan_$(VERSION).orig.tar.gz
13 dch -b -v $(VERSION)
14 cp -R debian build/strongswan-$(VERSION)
15
16 clean:
17 rm -Rf build
18
19 .PHONY: source prepare clean