File: gendoc

package info (click to toggle)
imlib2 1.3.0.0debian1-4
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 3,908 kB
  • ctags: 2,071
  • sloc: ansic: 32,883; asm: 20,011; sh: 8,830; makefile: 258
file content (17 lines) | stat: -rwxr-xr-x 394 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
cp ./imlib2.c.in ./imlib2.c

for I in `find ./src -name "api.c" -print`; do
  cat $I >> ./imlib2.c
done

#for I in `find ./src/lib -name "*.c" -print`; do
#  cat $I >> ./imlib2.c
#done
rm -rf ./doc/html ./doc/latex ./doc/man
doxygen
cp doc/img/*.png doc/html/
rm -f imlib2_docs.tar imlib2_docs.tar.gz
tar -cvf imlib2_docs.tar doc/html doc/man doc/latex
gzip -9 imlib2_docs.tar
exit 0