File: clean.sh

package info (click to toggle)
qmapshack 1.20.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 119,232 kB
  • sloc: cpp: 517,651; sh: 1,456; xml: 500; python: 180; makefile: 12; ansic: 1
file content (26 lines) | stat: -rwxr-xr-x 747 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
#!/bin/sh

source $QMSDEVDIR/qmapshack/MacOSX/config.sh   # check for important paramters

######################################################################## 
# clean up
echo "${ATTN}Cleaning build artifacts ...${NC}"

rm $QMSDEVDIR/brewlist*.txt
echo "${ATTN}Installed homebrew packages are listed in $QMSDEVDIR/brewdiff*.diff${NC}"
rm $QMSDEVDIR/portlist*.txt
echo "${ATTN}Installed macports are listed in $QMSDEVDIR/portsdiff*.diff${NC}"

rm -rf $QMSDEVDIR/local
rm -rf $QMSDEVDIR/otoolrecursive
rm -rf $QMSDEVDIR/quazip
rm -rf $QMSDEVDIR/gdal
rm -rf $QMSDEVDIR/routino*
rm -rf $QMSDEVDIR/proj*
rm -rf $QMSDEVDIR/build_QMapShack

echo "${ATTN}You can remove the qmapshap git repo from $QMSDEVDIR by rm -rf $QMSDEVDIR/qmapshack ${NC}"