Add 'install-tests' Makefile target.
authorJason Parker <jparker@digium.com>
Mon, 29 Nov 2010 17:53:50 +0000 (17:53 +0000)
committerJason Parker <jparker@digium.com>
Mon, 29 Nov 2010 17:53:50 +0000 (17:53 +0000)
Acked-by: Shaun Ruffell <sruffell@digium.com>

git-svn-id: http://svn.astersk.org/svn/dahdi/tools/trunk@9499 17933a7a-c749-41c5-a318-cba88f637d49

Makefile

index 835e410..be30fee 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -270,6 +270,12 @@ install-utils-subdirs:
                $(MAKE) -C $$dir install; \
        done
 
+install-tests: tests
+ifneq (,$(TEST_BINS))
+       install -d $(DESTDIR)$(BIN_DIR)
+       install  $(TEST_BINS) $(DESTDIR)$(BIN_DIR)/
+endif
+
 config:
 ifneq (,$(COPY_INITD))
        $(COPY_INITD)