add option "make training-uninstall"

This commit is contained in:
Zdenko Podobný 2016-02-13 00:04:59 +01:00
parent ebadb00e4d
commit 56c1a4a21f
2 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View File

@ -52,6 +52,7 @@ training/wordlist2dawg
*.patch
# ignore compilation files
build/*
*/.deps/*
*/.libs/*
*.lo

View File

@ -4,9 +4,12 @@ ACLOCAL_AMFLAGS = -I m4
if ENABLE_TRAINING
TRAINING_SUBDIR = training
training:
$(MAKE)
@cd "$(top_builddir)/training" && $(MAKE)
training-install:
@cd "$(top_builddir)/training" && $(MAKE) install
training-uninstall:
@cd "$(top_builddir)/training" && $(MAKE) uninstall
clean-local:
@cd "$(top_builddir)/training" && $(MAKE) clean
else