Skip to content

Commit d503215

Browse files
authored
Release 3.0.40 (#41)
1 parent 8736850 commit d503215

File tree

4 files changed

+43
-2
lines changed

4 files changed

+43
-2
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,19 @@ OUT_RELEASE = bin/Release/v8unpack
3131

3232
OBJ_RELEASE = $(OBJDIR_RELEASE)/src/V8File.o $(OBJDIR_RELEASE)/src/main.o
3333
PREFIX=$(DESTDIR)/usr/bin
34+
BASH_COMPLETION_PREFIX=$(DESTDIR)/etc/bash_completion.d
3435

3536
all: release
3637

37-
install:
38+
install: $(OUT_RELEASE)
3839
test -d $(PREFIX) || mkdir -p $(PREFIX)
3940
cp bin/Release/v8unpack $(PREFIX)/v8unpack
41+
test -d $(BASH_COMPLETION_PREFIX) || mkdir -p $(BASH_COMPLETION_PREFIX)
42+
cp bash_completion.sh $(BASH_COMPLETION_PREFIX)/v8unpack
4043

4144
uninstall:
4245
rm $(PREFIX)/v8unpack
46+
rm $(BASH_COMPLETION_PREFIX)/v8unpack
4347

4448
clean: clean_release
4549

bash_completion.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
_v8unpack_complete()
2+
{
3+
local cur opts
4+
COMPREPLY=()
5+
cur="${COMP_WORDS[COMP_CWORD]}"
6+
prev="${COMP_WORDS[COMP_CWORD]}"
7+
opts="-unpack -pack -parse -build -inflate -deflate \
8+
-list -example -bat -version"
9+
10+
if [[ ${COMP_CWORD} == 1 ]] ; then
11+
COMPREPLY=( $(compgen -W "$opts" -- ${cur}) )
12+
return 0
13+
fi
14+
15+
COMPREPLY=( $(compgen -f ${cur}) )
16+
return 0
17+
}
18+
complete -F _v8unpack_complete v8unpack
19+

debian/changelog

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
v8unpack (3.0.40-2~xenial) xenial; urgency=low
2+
3+
* Fixed build bug
4+
5+
-- Sergey Batanov <sergey.batanov@dmpas.ru> Fri, 17 Mar 2017 22:44:00 +0300
6+
7+
v8unpack (3.0.40-2~vivid) vivid; urgency=low
8+
9+
* Fixed build bug
10+
11+
-- Sergey Batanov <sergey.batanov@dmpas.ru> Fri, 17 Mar 2017 22:44:00 +0300
12+
13+
v8unpack (3.0.40-2~trusty) trusty; urgency=low
14+
15+
* Fixed build bug
16+
17+
-- Sergey Batanov <sergey.batanov@dmpas.ru> Fri, 17 Mar 2017 22:44:00 +0300
18+
119
v8unpack (3.0.39-1~xenial) xenial; urgency=low
220

321
* Added -list mode

rpm/v8unpack.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: v8unpack
2-
Version: 3.0.38
2+
Version: 3.0.40
33
Release: 1%{?dist}
44
Summary: Enterprise 8 unpack tool
55

0 commit comments

Comments
 (0)