-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
35 lines (25 loc) · 876 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
currentRelease = 0.4
nextRelease = 0.9.1
gpgkey=47CBC05C
all: release-check
update: release-new orig-pkg release-src release-bin release-ppa
release-new:
@mv suspicious_$(currentRelease) suspicious_$(nextRelease)
@cd suspicious_$(nextRelease) && dch -i
@tar cjvf suspicious_$(nextRelease).tar.bz2 suspicious_$(nextRelease)
@cd suspicious_$(nextRelease)/ && make
clean:
@cd suspicious_$(nextRelease) && make clean
@rm suspicious_$(nextRelease)-1_*
@rm *.orig.tar.*
release-check:
orig-pkg:
tar czvf suspicious_$(nextRelease).orig.tar.gz suspicious_$(nextRelease)
release-src:
cd suspicious_$(nextRelease) && debuild -S -sa -k$(gpgkey)
release-update:
cd suspicious_$(nextRelease) && debuild -S -sd -k$(gpgkey)
release-all:
cd suspicious_$(nextRelease) && debuild -i -b -us -uc
release-ppa:
dput ppa:freddy-f/ppa suspicious_$(nextRelease)-1_source.changes