From: Dana Jansens Date: Tue, 22 May 2007 04:35:43 +0000 (+0000) Subject: make the doc and data/xsession directories in configure.ac X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=3cf852d5ac30c14dd72c5f1731675bb23cb0d6be;p=chaz%2Fopenbox make the doc and data/xsession directories in configure.ac --- diff --git a/configure.ac b/configure.ac index 28083490..b854b965 100644 --- a/configure.ac +++ b/configure.ac @@ -159,12 +159,11 @@ AC_CONFIG_FILES([ version.h ]) AC_CONFIG_COMMANDS([doc], - [echo " creating doc"], - [mkdir doc 2>/dev/null]) + [test -d doc || mkdir doc]) +AC_CONFIG_COMMANDS([data], + [test -d data || mkdir data]) AC_CONFIG_COMMANDS([data/xsession], - [echo " creating data/xsession"], - [mkdir data 2>/dev/null], - [mkdir data/xsession 2>/dev/null]) + [test -d data/xsession || mkdir data/xsession]) AC_OUTPUT AC_MSG_RESULT