summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c10814a..e23642b 100644
--- a/Makefile
+++ b/Makefile
@@ -270,6 +270,7 @@ ifeq ($(OS) $(ARCH),Linux x86_64)
endif
+$(MAKE) -B release check $(DISTCHECK_FLAGS)
+$(MAKE) -B check $(DISTCHECK_FLAGS)
+ +$(MAKE) check-install
.PHONY: distcheck
clean:
@@ -294,6 +295,13 @@ uninstall:
$(RM) $(DESTDIR)$(PREFIX)/bin/bfs
.PHONY: uninstall
+check-install:
+ +$(MAKE) install DESTDIR=build/pkg
+ +$(MAKE) uninstall DESTDIR=build/pkg
+ ./bfs build/pkg -not -type d -print -exit 1
+ $(RM) -r build/pkg
+.PHONY: check-install
+
.SUFFIXES:
-include $(wildcard build/*.d build/tests/*.d)