]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Doc: Invoke external perl scripts properly
authorMatthias Maier <tamiko@kyomu.43-1.org>
Wed, 3 Apr 2013 21:28:31 +0000 (21:28 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Wed, 3 Apr 2013 21:28:31 +0000 (21:28 +0000)
git-svn-id: https://svn.dealii.org/trunk@29170 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/doxygen/scripts/make_step.pl

index f4994e5a5d2b247eaa615c39b3fded603810a67a..9c2569660e1a9069ccf08dc81f9e2ecf747cdb94 100644 (file)
@@ -33,18 +33,18 @@ print
   <li> <a href=\"#Intro\" class=bold>Introduction</a>
 ";
 
-system("perl $cmake_source_dir/doc/doxygen/scripts/intro2toc < $cmake_source_dir/examples/$step/doc/intro.dox");
+system $^X, "$cmake_source_dir/doc/doxygen/scripts/intro2toc", "$cmake_source_dir/examples/$step/doc/intro.dox";
 
 print "  <li> <a href=\"#CommProg\" class=bold>The commented program</a>\n";
 
-system("perl $cmake_source_dir/doc/doxygen/scripts/program2toc < $cmake_source_dir/examples/$step/$step.cc");
+system $^X, "$cmake_source_dir/doc/doxygen/scripts/program2toc", "$cmake_source_dir/examples/$step/$step.cc";
 
 print
 "</ol></td><td width=\"50%\" valign=\"top\"><ol>
   <li value=\"3\"> <a href=\"#Results\" class=bold>Results</a>
 ";
 
-system("perl $cmake_source_dir/doc/doxygen/scripts/intro2toc < $cmake_source_dir/examples/$step/doc/results.dox");
+system $^X, "$cmake_source_dir/doc/doxygen/scripts/intro2toc", "$cmake_source_dir/examples/$step/doc/results.dox";
 
 print
 "  <li> <a href=\"#PlainProg\" class=bold>The plain program</a>
@@ -52,11 +52,11 @@ print
 \@endhtmlonly
 ";
 
-system("perl $cmake_source_dir/doc/doxygen/scripts/create_anchors < $cmake_source_dir/examples/$step/doc/intro.dox");
+system $^X, "$cmake_source_dir/doc/doxygen/scripts/create_anchors", "$cmake_source_dir/examples/$step/doc/intro.dox";
 
-system("perl $cmake_source_dir/doc/doxygen/scripts/program2doxygen < $cmake_source_dir/examples/$step/$step.cc");
+system $^X, "$cmake_source_dir/doc/doxygen/scripts/program2doxygen", "$cmake_source_dir/examples/$step/$step.cc";
 
-system("perl $cmake_source_dir/doc/doxygen/scripts/create_anchors < $cmake_source_dir/examples/$step/doc/results.dox");
+system $^X, "$cmake_source_dir/doc/doxygen/scripts/create_anchors", "$cmake_source_dir/examples/$step/doc/results.dox";
 
 print
 "<a name=\"PlainProg\"></a>

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.