File: makerelease

package info (click to toggle)
pngtools 1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 928 kB
  • sloc: ansic: 871; sh: 684; python: 558; makefile: 32
file content (33 lines) | stat: -rw-r--r-- 577 bytes parent folder | download | duplicates (3)
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
#!/bin/bash -e

# This script makes the world nice-looking for the world.

cd man
rm *sgml || true
cd ..

for item in *.c
do
  /data/src/stillhq_public/trunk/autodocbook/autodocbook "$item"
done

autoreconf -if
./configure
make -C man
make clean

# Get rid of core files
find . -name "*core*" -exec rm -rf {} ";"

# Get rid of unwanted files
for filename in Makefile autom4te.cache config.cache config.log config.status logfile math config.h output.pdf .deps
do
  find . -name "$filename" -exec rm -rf {} ";"
done

rm -ri "#*#" *~ || true

# How much space do we use?
du -sk