aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2022-02-23 19:41:49 +0100
committerGuilhem Moulin <guilhem@fripost.org>2022-02-23 21:23:57 +0100
commit50243cd7747575e2a035bc6b31c5efb86cb73eee (patch)
treed5a9b716cb474c436be90872a9e376ec2cefaae9 /Makefile
parent448760457c85b80eef23b7c1ede8c735e4491b98 (diff)
Makefile: Add target 'installcheck' for post-install tests.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cee54eb..3d41f8a 100644
--- a/Makefile
+++ b/Makefile
@@ -43,6 +43,10 @@ check: $(PROGRAMS)
$(srcdir)/tests/certs/generate
INTERIMAP_I=$(srcdir)/lib INTERIMAP_PATH=$(builddir) $(srcdir)/tests/run-all
+installcheck:
+ $(srcdir)/tests/certs/generate
+ INTERIMAP_I="" INTERIMAP_PATH=$(bindir) $(srcdir)/tests/run-all
+
release:
@if ! git -C $(srcdir) diff --quiet HEAD -- Changelog interimap pullimap lib/Net/IMAP/InterIMAP.pm; then \
echo "Dirty state, refusing to release!" >&2; \
@@ -97,4 +101,4 @@ clean:
rm -vf -- $(PROGRAMS) $(MANUAL_FILES) $(HTML_FILES) $(SERVICE_FILES)
-rmdir -vp --ignore-fail-on-non-empty -- $(builddir)/doc
-.PHONY: all all-nodoc manual html doc check release install uninstall clean
+.PHONY: all all-nodoc manual html doc check release install installcheck uninstall clean