File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,13 @@ dist_doc_DATA = README.md ChangeLog.md UNLICENSE
4
4
endif
5
5
SUBDIRS = doc src
6
6
7
+ # # Generate .deb package
8
+ package :
9
+ @debuild -uc -us -B --lintian-opts --profile debian -i -I --show-overrides
10
+
7
11
# # Check if tagged in git
8
12
release-hook :
9
- @if [ ! ` git tag | grep $( PACKAGE_VERSION) ` ]; then \
13
+ @if [ " x ` git tag -l v $( PACKAGE_VERSION ) | grep $( PACKAGE_VERSION) ` " = " x " ]; then \
10
14
echo ; \
11
15
printf " \e[1m\e[41mCannot find release tag $( PACKAGE_VERSION) \e[0m\n" ; \
12
16
printf " \e[1m\e[5mDo release anyway?\e[0m " ; read yorn; \
@@ -22,9 +26,6 @@ release-hook:
22
26
echo ; \
23
27
fi
24
28
25
- package :
26
- @debuild -uc -us -B --lintian-opts --profile debian -i -I --show-overrides
27
-
28
29
# # Target to run when building a release
29
30
release : release-hook distcheck
30
31
@for file in $(DIST_ARCHIVES ) ; do \
You can’t perform that action at this time.
0 commit comments