Fix targets for top-level Makefile + libimagruby

* let the "lib" target build the tarball of the ruby gem
* let the "lib-imag-ruby-test" target only test the ruby gem
This commit is contained in:
Matthias Beyer 2017-02-08 10:44:09 +01:00
parent 4e5f265423
commit 095b22861d

View file

@ -47,11 +47,14 @@ bin: $(BIN_TARGETS) imag-bin
bin-test: $(BIN_TARGET_TESTS) imag-bin bin-test: $(BIN_TARGET_TESTS) imag-bin
lib: $(LIB_TARGETS) lib: $(LIB_TARGETS) lib-imag-ruby-tarball
@$(ECHO) "\t[ALLLIB ]" @$(ECHO) "\t[ALLLIB ]"
lib-test: $(LIB_TARGETS_TEST) lib-test: $(LIB_TARGETS_TEST)
lib-imag-ruby-tarball:
@$(MAKE) -C libimagruby tarball
lib-imag-ruby-test: lib-imag-ruby-test:
@$(MAKE) -C libimagruby test @$(MAKE) -C libimagruby test