File: prebuild-cleanup.sh

package info (click to toggle)
subversion 1.4.2dfsg1-3
  • links: PTS
  • area: main
  • in suites: etch
  • size: 37,284 kB
  • ctags: 32,888
  • sloc: ansic: 406,472; python: 38,378; sh: 15,438; cpp: 9,604; ruby: 8,313; perl: 5,308; java: 4,576; lisp: 3,860; xml: 3,298; makefile: 856
file content (25 lines) | stat: -rwxr-xr-x 644 bytes parent folder | download | duplicates (6)
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
#!/bin/sh

### Purify a system, to simulate building Subversion on a "clean" box.
###
### You'll probably need to run this as `root', and may need to change
### some paths for your system.

# Clean out old apr, apr-util config scripts.
rm /usr/local/bin/apr-config
rm /usr/local/bin/apu-config

# Clean out libs.
rm -f /usr/local/lib/APRVARS
rm -f /usr/local/lib/libapr*
rm -f /usr/local/lib/libexpat*
rm -f /usr/local/lib/libneon*
rm -f /usr/local/lib/libsvn*

# Clean out headers.
rm -f /usr/local/include/apr*
rm -f /usr/local/include/svn*
rm -f /usr/local/include/neon/*

### Not sure this would be useful:
# rm -f /usr/local/apache2/lib/*