forked from onflapp/gs-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
document_world.sh
executable file
·89 lines (66 loc) · 1.56 KB
/
document_world.sh
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
#!/bin/bash
export PATH=/Library/bin:/System/bin:$PATH
. /Developer/Makefiles/GNUstep.sh
D=`pwd`
echo "=================="
echo " gnustep documentation"
echo "=================="
cd ../gnustep-base/Documentation
make clean
make || exit 1
make install
cd "$D"
cd ../gnustep-gui/Documentation
### fix missing headers
touch ../Headers/AppKit/NSCollectionViewLayout.h
touch ../Headers/AppKit/NSCollectionViewTransitionLayout.h
touch ../Headers/AppKit/NSCollectionViewGridLayout.h
touch ../Headers/AppKit/NSCollectionViewCompositionalLayout.h
touch ../Headers/AppKit/NSCollectionViewFlowLayout.h
make clean
make || exit 1
make install
cd "$D"
cd ../gnustep-make/Documentation
make clean
make || exit 1
make install
cd "$D"
cd ../gnustep-back/Documentation
make clean
make || exit 1
make install
cd "$D"
cd ../libs-dbuskit/Documentation
make clean
make || exit 1
make install
cd /Library/Documentation
find . -name '*.igsdoc' -exec rm {} \;
echo "=================="
echo " steptalk documentation"
echo "=================="
cd "$D"
cd ../libs-steptalk/
T="/Library/Documentation/Developer/StepTalk"
mkdir -p "$T" 2>/dev/null
cp -R ./Documentation "$T"
cp -R ./Examples "$T"
echo "=================="
echo " gorm documentation"
echo "=================="
cd "$D"
cd ../apps-gorm/Documentation
make clean
make || exit 1
make install
echo "=================="
echo " GWorkspace documentation"
echo "=================="
cd "$D"
cd ../gs-workspace
T="/Library/Documentation/User"
cp ./Documentation/* "$T"
echo ""
echo " documentation has been installed to /Library/Documentation"
echo ""