# - 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
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