Skip to content

Commit

Permalink
fix translations not installed, compile python files while installing
Browse files Browse the repository at this point in the history
  • Loading branch information
Houston4444 committed Jan 17, 2022
1 parent b93cbe7 commit 8998bb8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,11 @@ install:
install -m 755 src/*.py $(DESTDIR)$(PREFIX)/share/cadence/src/

# Install translations
$(foreach l,$(I18N_LANGUAGES),install -m 644 \
resources/locale/cadence_$(l).qm \
$(DESTDIR)$(PREFIX)/share/cadence/locale/)
install -m 644 locale/*.qm $(DESTDIR)$(PREFIX)/share/cadence/locale/

# compile python files
python3 -m compileall $(DESTDIR)$(PREFIX)/share/cadence/src/

# Install addtional stuff for Cadence
install -m 644 data/pulse2jack/* $(DESTDIR)$(PREFIX)/share/cadence/pulse2jack/
install -m 644 data/pulse2loopback/* $(DESTDIR)$(PREFIX)/share/cadence/pulse2loopback/
Expand Down

0 comments on commit 8998bb8

Please sign in to comment.