Skip to content

Commit

Permalink
Added 'stage' target to copy/move outputs to a dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Sukender committed Jul 25, 2017
1 parent 3c683bb commit ba1eb76
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ install: all
source "./config.sh" && cp $$curLang.* /usr/share/myspell/dicts/ # TODO: replace with symlinks to hunspell

libreoffice: all
-source "./config.sh" && cp "$$curLang.dic" libreoffice-oxt/ && cp "$$curLang.aff" libreoffice-oxt/
-source "./config.sh" && cd "libreoffice-oxt" && zip -rq9 "../libreoffice-dictionary-$$curLang.oxt" * && cd -
source "./config.sh" && cp "$$curLang.dic" libreoffice-oxt/ && cp "$$curLang.aff" libreoffice-oxt/
source "./config.sh" && cd "libreoffice-oxt" && zip -rq9 "../libreoffice-dictionary-$$curLang.oxt" * && cd -

openoffice: libreoffice # Alias

stage: all libreoffice
mkdir -p stage
source "./config.sh" && mv "$$curLang.dic" stage && mv "libreoffice-dictionary-$$curLang.oxt" stage
source "./config.sh" && cp "$$curLang.aff" stage

0 comments on commit ba1eb76

Please sign in to comment.