diff --git a/CMakeLists.txt b/CMakeLists.txt index 965549e79f89e50a1ee4303a7d2b1fd071f5b84a..8de4ecc96a7f664a330f94cb6b7ea9acaff899e9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,6 +31,7 @@ execute_process(COMMAND git submodule update --init --recursive add_subdirectory(python) add_subdirectory(test) +add_subdirectory(bin) # finalize the dune project, e.g. generating config.h etc. finalize_dune_project(GENERATE_CONFIG_H_CMAKE) diff --git a/bin/CMakeLists.txt b/bin/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..847e89353290b4720c5a89773bf00fd566a89ae2 --- /dev/null +++ b/bin/CMakeLists.txt @@ -0,0 +1 @@ +dune_symlink_to_source_files(FILES make_graph.sh) diff --git a/bin/make_graph.sh b/bin/make_graph.sh new file mode 100755 index 0000000000000000000000000000000000000000..4d39d3fa93c2e7ac9265c52b7bf50e815bbcb771 --- /dev/null +++ b/bin/make_graph.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +for f in "$@" +do + perl -i -pe 's/FunctionSpace\(.*\)\), //g' $f + dot -Tpdf -O $f +done