]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Send output of the possibly failing cp command to nirvana.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 25 Feb 1999 10:18:56 +0000 (10:18 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 25 Feb 1999 10:18:56 +0000 (10:18 +0000)
git-svn-id: https://svn.dealii.org/trunk@903 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/Make.forward-declarations

index 29647f3b055dcf3e448feee76452c7dd4ce7227f..b371373523e5dd213efcac396cfc2e9f0a02b57b 100644 (file)
@@ -6,7 +6,8 @@
 # - if this is the outermost 'make', then create a file $@.old.
 #   if the forward declaration file $@ already exists, then copy
 #   it over, otherwise leave it empty. this way, we always have
-#   a file to run diff on
+#   a file to run diff on. send the output of the copy command
+#   (which may fail) to nirvana.
 # - write the forward declarations for the presently available
 #   header files to $@.new
 # - we would like to compare the output of the script generating
@@ -28,7 +29,7 @@ $(forward-declarations): $(filter-out %forward-declarations%,$(h-files))
 ifeq (0,${MAKELEVEL})
        @echo ============================ Checking $@
        @touch $@.old
-       -@cp $@ $@.old
+       -@cp $@ $@.old > /dev/null 2>&1
        @perl $D/deal.II/Make_forward_declarations $(filter-out %forward-declarations.h,$(h-files)) > $@.new
        @make --silent $@
        @rm $@.old $@.new

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.