summaryrefslogtreecommitdiffstats
path: root/fortran/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'fortran/Makefile.in')
-rw-r--r--fortran/Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/fortran/Makefile.in b/fortran/Makefile.in
index 3fccad8..63a4177 100644
--- a/fortran/Makefile.in
+++ b/fortran/Makefile.in
@@ -99,6 +99,11 @@ install-examples:
uninstall-examples:
(cd examples && $(MAKE) $@) || exit 1;
+## Check if installation is correct by checking if examples can be built.
+## This requires a proper "make install" has been done.
+check-install:
+ (cd examples && $(MAKE) check) || exit 1
+
.PHONY: all lib progs test _test install uninstall dep depend clean \
mostlyclean distclean maintainer-clean