mirror of https://gerrit.osmocom.org/osmo-dev
add osmo-uninstall.sh
This commit is contained in:
parent
38c213fa60
commit
feeedaddd6
8
README
8
README
|
@ -1,3 +1,5 @@
|
|||
=== gen_makefile.py
|
||||
|
||||
This provides a set of top-level makefiles to build variants of the Osmocom
|
||||
source trees. It is inteded for the core network components and related
|
||||
projects, but works generically.
|
||||
|
@ -36,3 +38,9 @@ For more details on the *.opts and *.deps syntax, read the docs at the top of
|
|||
|
||||
It is also easily possible to keep sources and build trees in various
|
||||
configurations, see the command line options of ./gen_makefile.py.
|
||||
|
||||
|
||||
=== osmo-uninstall.sh
|
||||
|
||||
Remove osmocom built binaries and headers from given prefix,
|
||||
default is /usr/local.
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
#!/bin/sh
|
||||
# Remove all osmocom installations from given prefix, default is /usr/local
|
||||
prefix="${1-/usr/local}"
|
||||
echo "$prefix"
|
||||
rm -rf $prefix/lib/libasn1c*
|
||||
rm -rf $prefix/lib/libgtp.*
|
||||
rm -rf $prefix/lib/libmtp.*
|
||||
rm -rf $prefix/lib/libosmo*
|
||||
rm -rf $prefix/lib/libsccp.*
|
||||
rm -rf $prefix/lib/libsmpp34*
|
||||
rm -rf $prefix/lib/libxua.*
|
||||
rm -rf $prefix/lib/pkgconfig/
|
||||
rm -rf $prefix/include/asn1c/
|
||||
rm -rf $prefix/include/gtp.h
|
||||
rm -rf $prefix/include/gtpie.h
|
||||
rm -rf $prefix/include/openbsc/
|
||||
rm -rf $prefix/include/osmocom/
|
||||
rm -rf $prefix/include/pdp.h
|
||||
rm -rf $prefix/include/smpp34*
|
||||
rm -rf $prefix/include/def_*
|
||||
rm -rf $prefix/bin/abisip-find
|
||||
rm -rf $prefix/bin/asn1c
|
||||
rm -rf $prefix/bin/bs11_config
|
||||
rm -rf $prefix/bin/crfc2asn1.pl
|
||||
rm -rf $prefix/bin/enber
|
||||
rm -rf $prefix/bin/ggsn
|
||||
rm -rf $prefix/bin/ipaccess-config
|
||||
rm -rf $prefix/bin/ipaccess-proxy
|
||||
rm -rf $prefix/bin/isdnsync
|
||||
rm -rf $prefix/bin/meas_json
|
||||
rm -rf $prefix/bin/osmo-*
|
||||
rm -rf $prefix/bin/sgsnemu
|
||||
rm -rf $prefix/bin/unber
|
Loading…
Reference in New Issue