File: gendoc

package info (click to toggle)
imlib2 1.4.8-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,628 kB
  • ctags: 2,214
  • sloc: ansic: 33,020; asm: 20,013; sh: 4,157; makefile: 305
file content (17 lines) | stat: -rwxr-xr-x 390 bytes parent folder | download | duplicates (8)
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/* 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