Skip to content

Commit

Permalink
Merge branch 'master' of pumpkin.lan:Mike/Projects/voice2json
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Hansen committed Jun 3, 2021
2 parents 26abc9f + 2c493cc commit 55e56bc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ COPY --from=build ${APP_DIR}/ ${APP_DIR}/
COPY --from=build /build/voice2json.sh ${APP_DIR}/

COPY etc/profile.defaults.yml ${APP_DIR}/etc/
COPY etc/profiles/ ${APP_DIR}/etc/profiles/
COPY etc/precise/ ${APP_DIR}/etc/precise/
COPY site/ ${APP_DIR}/site/
COPY bin/voice2json ${APP_DIR}/bin/
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ RUN cd ${BUILD_DIR} && \
COPY scripts/install/ ${BUILD_DIR}/scripts/install/

COPY etc/profile.defaults.yml ${BUILD_DIR}/etc/
COPY etc/profiles/ ${BUILD_DIR}/etc/profiles/
COPY etc/precise/ ${BUILD_DIR}/etc/precise/
COPY site/ ${BUILD_DIR}/site/

Expand Down
1 change: 1 addition & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ install-voice2json:
ifneq ($(IN_PLACE),yes)
install -D "$(srcdir)/voice2json.sh" "$(DESTDIR)$(prefix)/bin/voice2json"
install -D "--target-directory=$(DESTDIR)$(prefix)/share/voice2json/etc" "$(srcdir)/etc/profile.defaults.yml"
install -D "--target-directory=$(DESTDIR)$(prefix)/share/voice2json/etc/profiles" "$(srcdir)/etc/profiles/"*
install -D "--target-directory=$(DESTDIR)$(prefix)/share/voice2json/etc/precise" "$(srcdir)/etc/precise"/*
install -D "--target-directory=$(DESTDIR)$(prefix)/share/voice2json" VERSION README.md LICENSE
if [[ -d "$(srcdir)/site" ]]; then cp -fR "$(srcdir)/site" "$(DESTDIR)$(prefix)/share/voice2json/"; fi || true
Expand Down
2 changes: 1 addition & 1 deletion debian/voice2json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ APPDIR='/usr/lib/voice2json'
export PATH="${APPDIR}/bin:${APPDIR}/usr/local/bin:${PATH}"
export LD_LIBRARY_PATH="${APPDIR}/lib:${APPDIR}/usr/local/lib:${LD_LIBRARY_PATH}"

export voice2json_dir="${APPDIR}"
export voice2json_dir="${APPDIR}/share/voice2json"
export KALDI_DIR="${APPDIR}/lib/kaldi"

export PYTHONPATH="${voice2json_dir}:${PYTHONPATH}"
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ this_dir="$( cd "$( dirname "$0" )" && pwd )"
src_dir="$(realpath "${this_dir}/..")"

version="$(cat "${src_dir}/VERSION")"
out_version='2.0'
out_version='2.1'

# -----------------------------------------------------------------------------

Expand Down

0 comments on commit 55e56bc

Please sign in to comment.