File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 13
13
14
14
M2_REPO = $(CURDIR ) /debian/maven-repo-local
15
15
CURVERSION = $(shell grep -oPm2 "(?<=<version>) [^<]+" "pom.xml" | tail -1)
16
+ # Previously:
17
+ # CURVERSION = $(shell mvn -Dmaven.repo.local=$(M2_REPO) -q -Dexec.executable=echo -Dexec.args='$${project.version}' --non-recursive exec:exec)-r$(shell git rev-parse HEAD | cut -c1-7)
18
+ # but we don't have the git revision in a debian build from sources without .git directory
16
19
17
20
% :
18
21
dh $@
27
30
28
31
override_dh_auto_install :
29
32
# install don't allow to rename files (like wars), so we copy here the file we want to install with the package
30
- cp $(CURDIR)/target/ipt-$(CURVERSION).war $(CURDIR)/target/ipt.war
33
+ cp $(CURDIR)/target/ipt-$(CURVERSION)-rnull .war $(CURDIR)/target/ipt.war
31
34
32
35
override_dh_fixperms :
33
36
dh_fixperms
You can’t perform that action at this time.
0 commit comments