]> Dogcows Code - chaz/openbox/commitdiff
make the doc and data/xsession directories in configure.ac
authorDana Jansens <danakj@orodu.net>
Tue, 22 May 2007 04:35:43 +0000 (04:35 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 22 May 2007 04:35:43 +0000 (04:35 +0000)
configure.ac

index 28083490357aca1eb7d4bea27dad5d3137ad4db9..b854b9658e191334b7d96802f091518dd809687a 100644 (file)
@@ -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
This page took 0.022014 seconds and 4 git commands to generate.