File: cleanup

package info (click to toggle)
rmatrix 1.1-4-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,148 kB
  • ctags: 2,773
  • sloc: ansic: 40,903; makefile: 333; sh: 138
file content (22 lines) | stat: -rwxr-xr-x 493 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

# Cleans up after the auxiliary files that were created when installing
# the Matrix package (shamelessly taken from the XML source pkg)
#
echo "  Cleaning up after installing the Matrix package"

## No configure currently --> empty for now: not yet really needed
for f in config.log config.status config.cache ; do
  if test -w $f ; then
    rm -f $f
  fi
done

for D in `sed -n '/^SUBDIRS *= */s///p' src/Makevars`
do
 if test -d src/$D
 then (cd src/$D ; make clean )
 fi
done