]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Nicer TODO file format.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 29 Mar 2001 16:08:59 +0000 (16:08 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 29 Mar 2001 16:08:59 +0000 (16:08 +0000)
git-svn-id: https://svn.dealii.org/trunk@4337 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/Makefile

index 28dc64b8c5b202867a293287e4c38a5640bbf702..4a7c7c40125fffafb157f9bcd923be97c42b4599 100644 (file)
@@ -134,11 +134,13 @@ tex-doc:
        @echo
 
 TODO:
-       @cat $D/base/Todo $D/lac/Todo $D/deal.II/Todo > $@
        @egrep -i '// *todo' $D/base/include/*/*.h $D/base/source/*.cc \
                      $D/lac/include/*/*.h $D/lac/source/*.cc   \
                      $D/deal.II/include/*/*.h $D/deal.II/source/*/*.cc \
-             >> $@
+       | perl -pi -e 's#$D/?#\n#g;' \
+       | perl -pi -e 's#(.*)(TODO:?)(\[.+\])#\3 \1\2\3#gi;' \
+       | perl -pi -e 's#\s*//\s*TODO:\s*(\[.+\])\s*#\n\1     #gi;' \
+             > $@
 
 
 TAGS: $(filter-out %/forward_declarations.h,                                \

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.