summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Thumshirn <jthumshirn@suse.de>2019-11-28 11:26:06 +0100
committerJens Axboe <axboe@kernel.dk>2019-11-28 08:00:55 -0700
commit6e3f6f3a35140a7dbb06bc63906948e17a77c227 (patch)
tree53c940f68a00d97eaef4d1e08fe9c7b7a9e71596 /Makefile
parentc8291a94ddf695447f94728a2b819550138e36e8 (diff)
downloadliburing-6e3f6f3a35140a7dbb06bc63906948e17a77c227.tar.gz
liburing-6e3f6f3a35140a7dbb06bc63906948e17a77c227.tar.bz2
liburing: create an installation target for tests
Create an installation target for liburing's regression test suite. Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9e13218..89b3f1d 100644
--- a/Makefile
+++ b/Makefile
@@ -45,6 +45,9 @@ install: $(NAME).pc
$(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man2
$(INSTALL) -m 644 man/*.2 $(DESTDIR)$(mandir)/man2
+install-tests:
+ @$(MAKE) -C test install prefix=$(DESTDIR)$(prefix) datadir=$(DESTDIR)$(datadir)
+
clean:
@rm -f config-host.mak config-host.h cscope.out $(NAME).pc
@$(MAKE) -C src clean