7392cb37bddbff8b15d60a5aa4d42359eeff141e
[strongswan.git] / packages / strongswan / Makefile
1
2 SOURCE:=../../build/nm
3 VERSION:=4.2.13rc1
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