File: lipuninstall

package info (click to toggle)
liblip 2.0.0-1.2
  • links: PTS
  • area: main
  • in suites: bookworm, buster, jessie-kfreebsd, sid, stretch
  • size: 2,496 kB
  • ctags: 3,108
  • sloc: sh: 8,632; cpp: 8,109; ansic: 4,348; makefile: 108
file content (20 lines) | stat: -rwxr-xr-x 376 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
#!/bin/sh

#run make uninstall and then clean
if [ -f Makefile ]
then 	echo "Uninstalling liblip"
	make uninstall
	make clean
else	echo "makefile not found... might have to uninstall 
manually!"
fi

# remove the document directory.

DOCS_DIR=`cat docs_dir`

echo "rm -rf $DOCS_DIR"
rm -rf $DOCS_DIR/examples
rm -rf $DOCS_DIR/docs
rm -rf $DOCS_DIR/include
rm -rf $DOCS_DIR/lib