chiark / gitweb /
Unset environment when testing Disobedience --help/--version, to
[disorder] / disobedience / Makefile.am
index ae3bc6cb768ccbe65919a48dcbdcccb7efc15d62..335e5711d5dfe7fbbcbe4b0d8ef05de9dec6cef9 100644 (file)
@@ -1,6 +1,6 @@
 #
 # This file is part of DisOrder.
-# Copyright (C) 2006, 2007 Richard Kettlewell
+# Copyright (C) 2006-2008 Richard Kettlewell
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -62,6 +62,7 @@ images.h: $(PNGS)
 
 # check everything has working --help
 check-help: all
-       ./disobedience --version > /dev/null
+       unset DISPLAY;./disobedience --version > /dev/null
+       unset DISPLAY;./disobedience --help > /dev/null
 
 export GNUSED