add option "make training-uninstall"

This commit is contained in:
Zdenko Podobný 2016-02-13 00:04:59 +01:00
parent 67fa73c95a
commit 07ce98b7fc
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