~brianaker/gearmand/current-osx-fixes

« back to all changes in this revision

Viewing changes to libtest/include.am

  • Committer: Brian Aker
  • Date: 2014-04-16 12:44:11 UTC
  • Revision ID: brian@tangent.org-20140416124411-slcndre8eekmg4zu
Fix how we test for building directories required during testing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
188
188
libtest_libtest_la_SOURCES+= libtest/blobslap_worker.cc
189
189
endif
190
190
 
191
 
TMP_DIR := tmp_chroot/etc tmp_chroot/var/log tmp_chroot/var/tmp tmp_chroot/var/run tmp_chroot/var/drizzle
 
191
TMP_DIR_NAMES := tmp_chroot/etc tmp_chroot/var/log tmp_chroot/var/tmp tmp_chroot/var/run tmp_chroot/var/drizzle
 
192
TMP_DIR= $(addsuffix /$(am__dirstamp), $(TMP_DIR_NAMES))
192
193
 
193
194
BUILT_SOURCES+= $(TMP_DIR)
194
195
 
195
196
$(TMP_DIR):
196
 
        @$(mkdir_p) $(TMP_DIR)
 
197
        @$(mkdir_p) $(@D)
 
198
        @touch $@
197
199
 
198
200
# Declare unittest so that we can append to it
199
201
t_unittest_CXXFLAGS=