Package: deal.ii / 6.3.1-1

pdebuild.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
Index: deal.ii-6.3.1/base/Makefile
===================================================================
--- deal.ii-6.3.1.orig/base/Makefile	2010-07-23 14:55:08.000000000 +0200
+++ deal.ii-6.3.1/base/Makefile	2010-07-23 14:55:08.000000000 +0200
@@ -28,9 +28,11 @@
 
 # production rules
 $(LIBDIR)/base/%.g.$(OBJEXT) :
+	@mkdir -p $(LIBDIR)/base
 	@echo "=====base=============debug======$(MT)== $(<F)"
 	@$(CXX) $(CXXFLAGS.g) -c $< -o $@
 $(LIBDIR)/base/%.$(OBJEXT) :
+	@mkdir -p $(LIBDIR)/base
 	@echo "=====base=============optimized==$(MT)== $(<F)"
 	@$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
Index: deal.ii-6.3.1/contrib/functionparser/Makefile
===================================================================
--- deal.ii-6.3.1.orig/contrib/functionparser/Makefile	2010-07-23 14:55:04.000000000 +0200
+++ deal.ii-6.3.1/contrib/functionparser/Makefile	2010-07-23 14:55:08.000000000 +0200
@@ -8,6 +8,7 @@
 
 # rules
 $(LIBDIR)/contrib/functionparser/fparser.$(OBJEXT): fparser.cc fparser.h
+	@mkdir -p $(LIBDIR)/contrib/functionparser
 	@echo =====function parser==optimized==$(MT)== $(<F)
 	@$(CXX) $(CXXFLAGS.o) -c fparser.cc -o $@
 
Index: deal.ii-6.3.1/deal.II/Makefile
===================================================================
--- deal.ii-6.3.1.orig/deal.II/Makefile	2010-07-23 14:55:04.000000000 +0200
+++ deal.ii-6.3.1/deal.II/Makefile	2010-07-23 14:55:08.000000000 +0200
@@ -52,23 +52,29 @@
 # there are some files which needs exceptional rules; these are
 # listed immediately below
 $(LIBDIR)/1d/%.g.$(OBJEXT) :
+	@mkdir -p $(LIBDIR)/1d
 	@echo "=====deal.II====1d====debug======$(MT)== $(<:$D/deal.II/source/%=%)"
 	@$(CXX) $(CXXFLAGS.g) -Ddeal_II_dimension=1 -c $< -o $@
 $(LIBDIR)/1d/%.$(OBJEXT) :
+	@mkdir -p $(LIBDIR)/1d
 	@echo "=====deal.II====1d====optimized==$(MT)== $(<:$D/deal.II/source/%=%)"
 	@$(CXX) $(CXXFLAGS.o) -Ddeal_II_dimension=1 -c $< -o $@
 
 $(LIBDIR)/2d/%.g.$(OBJEXT) :
+	@mkdir -p $(LIBDIR)/2d
 	@echo "=====deal.II====2d====debug======$(MT)== $(<:$D/deal.II/source/%=%)"
 	@$(CXX) $(CXXFLAGS.g) -Ddeal_II_dimension=2 -c $< -o $@
 $(LIBDIR)/2d/%.$(OBJEXT) :
+	@mkdir -p $(LIBDIR)/2d
 	@echo "=====deal.II====2d====optimized==$(MT)== $(<:$D/deal.II/source/%=%)"
 	@$(CXX) $(CXXFLAGS.o) -Ddeal_II_dimension=2 -c $< -o $@
 
 $(LIBDIR)/3d/%.g.$(OBJEXT) :
+	@mkdir -p $(LIBDIR)/3d
 	@echo "=====deal.II====3d====debug======$(MT)== $(<:$D/deal.II/source/%=%)"
 	@$(CXX) $(CXXFLAGS.g) -Ddeal_II_dimension=3 -c $< -o $@
 $(LIBDIR)/3d/%.$(OBJEXT) :
+	@mkdir -p $(LIBDIR)/3d
 	@echo "=====deal.II====3d====optimized==$(MT)== $(<:$D/deal.II/source/%=%)"
 	@$(CXX) $(CXXFLAGS.o) -Ddeal_II_dimension=3 -c $< -o $@
 
Index: deal.ii-6.3.1/lac/Makefile
===================================================================
--- deal.ii-6.3.1.orig/lac/Makefile	2010-07-23 14:55:04.000000000 +0200
+++ deal.ii-6.3.1/lac/Makefile	2010-07-23 14:55:08.000000000 +0200
@@ -31,9 +31,11 @@
 
 # production rules
 $(LIBDIR)/lac/%.g.$(OBJEXT) :
+	@mkdir -p $(LIBDIR)/lac
 	@echo "=====lac==============debug======$(MT)== $(<F)"
 	@$(CXX) $(CXXFLAGS.g) -c $< -o $@
 $(LIBDIR)/lac/%.$(OBJEXT) :
+	@mkdir -p $(LIBDIR)/lac
 	@echo "=====lac==============optimized==$(MT)== $(<F)"
 	@$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
Index: deal.ii-6.3.1/doc/doxygen/tutorial/Makefile
===================================================================
--- deal.ii-6.3.1.orig/doc/doxygen/tutorial/Makefile	2010-07-23 14:55:04.000000000 +0200
+++ deal.ii-6.3.1/doc/doxygen/tutorial/Makefile	2010-07-23 14:55:08.000000000 +0200
@@ -37,7 +37,7 @@
 
 
 
-all: $(example-doxygen) toc.html
+all: Makefile.dep $(example-doxygen) toc.html
 
 # Generation of the map of the example programs. Note, that the
 # following command only merges the map into toc.html. The map itself
@@ -170,6 +170,7 @@
 
 
 Makefile.dep: $(shell echo $D/examples/*/*.cc $D/examples/*/doc/*.dox) Makefile
+	@mkdir -p generated
 	@echo ================== Generating $@
 	@for i in $(example-names) ; do \
 		echo generated/$${i}_prog.html generated/$${i}_plain.html \
Index: deal.ii-6.3.1/doc/doxygen/Makefile.in
===================================================================
--- deal.ii-6.3.1.orig/doc/doxygen/Makefile.in	2010-07-23 14:55:08.000000000 +0200
+++ deal.ii-6.3.1/doc/doxygen/Makefile.in	2010-07-23 15:12:16.000000000 +0200
@@ -51,6 +51,7 @@
 
 
 tutorial:
+	@mkdir -p tutorial/doxygen
 	@cd tutorial ; $(MAKE)
 
 deal.dox: Makefile $(shell echo images ../../examples/*/doc ../news/*.h)