Skip to content

Commit

Permalink
Install markovify code through Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
az0 committed Oct 3, 2019
1 parent 049f8f2 commit bc2cc2b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ install:
$(INSTALL_DATA) bleachbit.appdata.xml $(DESTDIR)$(datadir)/appdata/

# Python code
mkdir -p $(DESTDIR)$(datadir)/bleachbit
mkdir -p $(DESTDIR)$(datadir)/bleachbit/markovify
$(INSTALL_DATA) bleachbit/*.py $(DESTDIR)$(datadir)/bleachbit
$(INSTALL_DATA) bleachbit/markovify/*.py $(DESTDIR)$(datadir)/bleachbit/markovify
#note: compileall is recursive
cd $(DESTDIR)$(datadir)/bleachbit && \
python2 -O -c "import compileall; compileall.compile_dir('.')" && \
python2 -c "import compileall; compileall.compile_dir('.')"
Expand Down

0 comments on commit bc2cc2b

Please sign in to comment.