Skip to content

Commit

Permalink
Release 3.0.40 (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmpas authored Mar 18, 2017
1 parent 8736850 commit d503215
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,19 @@ OUT_RELEASE = bin/Release/v8unpack

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

all: release

install:
install: $(OUT_RELEASE)
test -d $(PREFIX) || mkdir -p $(PREFIX)
cp bin/Release/v8unpack $(PREFIX)/v8unpack
test -d $(BASH_COMPLETION_PREFIX) || mkdir -p $(BASH_COMPLETION_PREFIX)
cp bash_completion.sh $(BASH_COMPLETION_PREFIX)/v8unpack

uninstall:
rm $(PREFIX)/v8unpack
rm $(BASH_COMPLETION_PREFIX)/v8unpack

clean: clean_release

Expand Down
19 changes: 19 additions & 0 deletions bash_completion.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
_v8unpack_complete()
{
local cur opts
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD]}"
opts="-unpack -pack -parse -build -inflate -deflate \
-list -example -bat -version"

if [[ ${COMP_CWORD} == 1 ]] ; then
COMPREPLY=( $(compgen -W "$opts" -- ${cur}) )
return 0
fi

COMPREPLY=( $(compgen -f ${cur}) )
return 0
}
complete -F _v8unpack_complete v8unpack

18 changes: 18 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
v8unpack (3.0.40-2~xenial) xenial; urgency=low

* Fixed build bug

-- Sergey Batanov <[email protected]> Fri, 17 Mar 2017 22:44:00 +0300

v8unpack (3.0.40-2~vivid) vivid; urgency=low

* Fixed build bug

-- Sergey Batanov <[email protected]> Fri, 17 Mar 2017 22:44:00 +0300

v8unpack (3.0.40-2~trusty) trusty; urgency=low

* Fixed build bug

-- Sergey Batanov <[email protected]> Fri, 17 Mar 2017 22:44:00 +0300

v8unpack (3.0.39-1~xenial) xenial; urgency=low

* Added -list mode
Expand Down
2 changes: 1 addition & 1 deletion rpm/v8unpack.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: v8unpack
Version: 3.0.38
Version: 3.0.40
Release: 1%{?dist}
Summary: Enterprise 8 unpack tool

Expand Down

0 comments on commit d503215

Please sign in to comment.