-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc.sh
executable file
·53 lines (39 loc) · 1.37 KB
/
doc.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
#!/bin/sh
#Made by 93alfon
OPTION=$1
if [ "$OPTION" = "-c" ]; then
rm -Rf G-2313-07-P1/doc/html
rm -Rf G-2313-07-P2/doc/html
rm -Rf G-2313-07-P3/doc/html
rm G-2313-07-P1/man/*.3 > /dev/null 2>&1
rm G-2313-07-P2/man/*.3 > /dev/null 2>&1
rm G-2313-07-P3/man/*.3 > /dev/null 2>&1
echo "Limpiada toda la documentación"
else
doxygen doxygen/Doxyfile-P1 > /dev/null 2>&1
doxygen doxygen/Doxyfile-P2 > /dev/null 2>&1
doxygen doxygen/Doxyfile-P3 > /dev/null 2>&1
cp doxygen/doxygen.png G-2313-07-P1/doc/html
cp doxygen/doxygen.png G-2313-07-P2/doc/html
cp doxygen/doxygen.png G-2313-07-P3/doc/html
mv -f G-2313-07-P1/doc/man/man3/* G-2313-07-P1/man
mv -f G-2313-07-P2/doc/man/man3/* G-2313-07-P2/man
mv -f G-2313-07-P3/doc/man/man3/* G-2313-07-P3/man
rm -Rf G-2313-07-P1/doc/man
rm -Rf G-2313-07-P2/doc/man
rm -Rf G-2313-07-P3/doc/man
rm G-2313-07-P1/man/_*
rm G-2313-07-P2/man/_*
rm G-2313-07-P3/man/_*
rm G-2313-07-P1/man/G-2313-07-P1-*
rm G-2313-07-P2/man/G-2313-07-P2-*
rm G-2313-07-P3/man/G-2313-07-P3-*
rm G-2313-07-P1/man/auxiliar_functions.3
rm G-2313-07-P1/man/irc_server.3
rm G-2313-07-P2/man/irc_client_functions.3
rm G-2313-07-P2/man/irc_client_interface.3
rm G-2313-07-P2/man/irc_client_parsers.3
rm G-2313-07-P3/man/ssl_connection.3
echo "Generada y organizada toda la documentación"
echo " >> Usar -c para limpiar toda la documentación"
fi