[MOAB-dev] r1239 - MOAB/trunk/tools/iMesh/SIDL
kraftche at mcs.anl.gov
kraftche at mcs.anl.gov
Thu Aug 16 16:11:00 CDT 2007
Author: kraftche
Date: 2007-08-16 16:11:00 -0500 (Thu, 16 Aug 2007)
New Revision: 1239
Modified:
MOAB/trunk/tools/iMesh/SIDL/Makefile.in
Log:
one more fix for in-source-tree builds
Modified: MOAB/trunk/tools/iMesh/SIDL/Makefile.in
===================================================================
--- MOAB/trunk/tools/iMesh/SIDL/Makefile.in 2007-08-16 20:59:43 UTC (rev 1238)
+++ MOAB/trunk/tools/iMesh/SIDL/Makefile.in 2007-08-16 21:11:00 UTC (rev 1239)
@@ -189,10 +189,12 @@
# set of permissions (writable, owned by person running make, etc.)
mserver/babel.make: $(SIDL_FILES_PATH) $(SERVER_FILES_PATH)
test -d mserver || $(mkdir_p) mserver || exit 1
- @for p in $(SERVER_FILES); do \
- $(ECHO) "cat $(srcdir)/$$p > $$p"; \
- cat $(srcdir)/$$p > $$p; \
- done
+ @if test "x$(srcdir)" != "x."; then \
+ for p in $(SERVER_FILES); do \
+ $(ECHO) "cat $(srcdir)/$$p > $$p"; \
+ cat $(srcdir)/$$p > $$p; \
+ done \
+ fi
@if test "x$(USE_BABEL)" = "xyes"; then \
$(ECHO) '$(BABEL) -sC++ $(SIDL_FILES_PATH) -o mserver' ; \
$(BABEL) -sC++ $(SIDL_FILES_PATH) -o mserver; \
More information about the moab-dev
mailing list