Browse Source

add install target

Waldemar Brodkorb 7 years ago
parent
commit
67849b5729
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Makefile.in

+ 4 - 0
Makefile.in

@@ -19,3 +19,7 @@ test_compile: $(LOCAL_INSTALL_PATH)
 test_gen: $(LOCAL_INSTALL_PATH)
 	$(Q)$(MAKE) -C test gen \
 		$(if $(O),top_builddir=$(O)/)
+
+install:
+	mkdir -p $(DESTDIR)
+	tar --exclude='*.[och]' -cvf - test/ | tar -xvf - -C $(DESTDIR)