]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Adapt to new pathes.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 29 Feb 2000 12:56:29 +0000 (12:56 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 29 Feb 2000 12:56:29 +0000 (12:56 +0000)
git-svn-id: https://svn.dealii.org/trunk@2506 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/tutorial/chapter-2.step-by-step/Makefile

index 7e8cb7f4632ce2813cf7afe1902f557feefb1c5b..a491d47763c2372328c6c0b6f866c7e8120f1584 100644 (file)
@@ -4,7 +4,7 @@
 # include paths and global variables
 include ../../../common/Make.global_options
 
-example-directories = $(shell echo $D/deal.II/examples/step-by-step/step-*)
+example-directories = $(shell echo $D/examples/step-*)
 example-names       = $(notdir $(example-directories))
 example-htmls       = $(addsuffix .html,$(example-names))
 example-sgmls       = $(addsuffix .sgml,$(example-names))
@@ -16,13 +16,13 @@ $(example-htmls):
        @echo ================== Assembling $@
        @cat head.html > $@
        @cat $(@:.html=.data/intro.html) >> $@
-       @cat $D/deal.II/examples/step-by-step/$(@:.html=)/$(@:.html=.cc) \
+       cat $D/examples/$(@:.html=)/$(@:.html=.cc) \
          | $(PERL) program2html \
          >> $@
        @cat $(@:.html=.data/results.html) >> $@
-       @cat $D/deal.II/examples/step-by-step/$(@:.html=)/$(@:.html=.cc) \
+       @cat $D/examples/$(@:.html=)/$(@:.html=.cc) \
          | $(PERL) program2plain \
-         | $(PERL) -e '$$path="$D/deal.II/examples/step-by-step/$(@:.html=)/$(@:.html=.cc)"; \
+         | $(PERL) -e '$$path="$D/examples/$(@:.html=)/$(@:.html=.cc)"; \
                         $$path =~ s!/! /!g; \
                        while (<>) { s!PROGRAMPATH!$$path!g; print; };' \
          >> $@
@@ -34,15 +34,15 @@ $(example-sgmls):
        @echo ================== Assembling $@
        @cat $(@:.sgml=.data/intro.html) >> $@
        @echo "</sect2>" >> $@
-       @cat $D/deal.II/examples/step-by-step/$(@:.sgml=)/$(@:.sgml=.cc) \
+       @cat $D/examples/$(@:.sgml=)/$(@:.sgml=.cc) \
          | $(PERL) program2html \
          >> $@
        @echo "</sect2>" >> $@
        @cat $(@:.sgml=.data/results.html) >> $@
        @echo "</sect2>" >> $@
-       @cat $D/deal.II/examples/step-by-step/$(@:.sgml=)/$(@:.sgml=.cc) \
+       @cat $D/examples/$(@:.sgml=)/$(@:.sgml=.cc) \
          | $(PERL) program2plain \
-         | $(PERL) -e '$$path="$D/deal.II/examples/step-by-step/$(@:.sgml=)/$(@:.sgml=.cc)"; \
+         | $(PERL) -e '$$path="$D/examples/$(@:.sgml=)/$(@:.sgml=.cc)"; \
                         $$path =~ s!/! /!g; \
                        while (<>) { s!PROGRAMPATH!$$path!g; print; };' \
          >> $@

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.