Ensure that psppire's --help and --version options work even without an X server.
[pspp] / src / ui / gui / automake.mk
index 4774e2ae5ec320a0ece1073c3c197b794ab5fb3e..038b2cf26eac6ebc06d8a4045448badfce4899bb 100644 (file)
@@ -273,3 +273,7 @@ BUILT_SOURCES += src/ui/gui/psppire-marshal.c src/ui/gui/psppire-marshal.h
 CLEANFILES += src/ui/gui/psppire-marshal.c src/ui/gui/psppire-marshal.h \
        $(nodist_src_ui_gui_psppire_DATA)
 endif HAVE_GUI
+
+#ensure the installcheck passes even if there is no X server available
+installcheck-local:
+       DISPLAY=/invalid/port $(MAKE) $(AM_MAKEFLAGS) installcheck-binPROGRAMS