diff options
author | Marcin Junczys-Dowmunt <junczys@amu.edu.pl> | 2018-09-06 17:09:00 +0300 |
---|---|---|
committer | Marcin Junczys-Dowmunt <junczys@amu.edu.pl> | 2018-09-06 17:09:00 +0300 |
commit | a63d1da7f788cc2e4012922d1b61b1864409590c (patch) | |
tree | 02c67c70fbd72b1dc2d8113f27da4e89d3c9e258 | |
parent | 36d14618dacd6b2db10d5a595b587a4874ae076e (diff) |
add targets clean and clean-all
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -27,6 +27,7 @@ tools: git -C $@/moses-scripts pull || git clone $(GIT_MOSES_SCRIPTS) $@/moses-scripts git -C $@/subword-nmt pull || git clone $(GIT_SUBWORD_NMT) $@/subword-nmt pip3 install --user $(PIP_PACKAGES) + pip install --user $(PIP_PACKAGES) models: mkdir -p $@ @@ -45,3 +46,8 @@ tools/marian: rm -rf $@/build mkdir -p $@/build && cd $@/build && cmake .. $(CMAKE_FLAGS) && make -j$(THREADS) +clean: + git clean -x -d -f tests + +clean-all: + git clean -x -d -f
\ No newline at end of file |