]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Only print a message if something actually happened.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 10 Apr 2012 10:33:31 +0000 (10:33 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 10 Apr 2012 10:33:31 +0000 (10:33 +0000)
git-svn-id: https://svn.dealii.org/trunk@25403 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/Makefile

index 824b3a5435f656f0c273757399f72bd78db84475..b321dbe13ff54f8bd9de45e013f308d1a23aa2c9 100644 (file)
@@ -33,9 +33,8 @@ deps: config.log
          then : ;\
          else rm Makefile.dep && $(MAKE) $(MAKEOPTIONS) Makefile.dep; fi
        @cd lib && $(MAKE) $(MAKEOPTIONS) external-links
-       @mkdir -p lib/debug
-       @mkdir -p lib/optimized
-       @echo Created lib/debug and lib/optimized  directories.
+       @if test ! -d lib/debug ; then     mkdir -p lib/debug     && echo "Created lib/debug" ;     fi
+       @if test ! -d lib/optimized ; then mkdir -p lib/optimized && echo "Created lib/optimized" ; fi
 
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.