Correctly set version during build (LP: #1793263)
Ondřej Nový
5 years ago
1 | 1 |
|
2 | 2 |
* d/patches: Remove wrong Bug-Debian fields
|
3 | 3 |
* d/p/version.patch: Fix version to 2.11
|
|
4 |
* Correctly set version during build (LP: #1793263)
|
4 | 5 |
|
5 | 6 |
-- Ondřej Nový <onovy@debian.org> Sat, 29 Sep 2018 17:09:49 +0200
|
6 | 7 |
|
0 | 0 |
#!/usr/bin/make -f
|
1 | 1 |
|
|
2 |
include /usr/share/dpkg/pkg-info.mk
|
2 | 3 |
DESTDIR=$(CURDIR)/debian/todotxt-cli
|
3 | 4 |
|
4 | 5 |
%:
|
|
13 | 14 |
install -D --mode=755 todo.sh $(DESTDIR)/usr/bin/todo-txt
|
14 | 15 |
install -D --mode=755 todo_completion $(DESTDIR)/usr/share/bash-completion/completions/todo-txt
|
15 | 16 |
install -D --mode=644 todo.cfg $(DESTDIR)/etc/todo-txt/config
|
|
17 |
sed -i 's/@DEV_VERSION@/'$(DEB_VERSION_UPSTREAM)'/' $(DESTDIR)/usr/bin/todo-txt
|