File: clean.sh

package info (click to toggle)
qtoctave 0.10.1-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 8,768 kB
  • ctags: 2,262
  • sloc: cpp: 18,135; xml: 3,918; python: 1,754; ansic: 490; sh: 251; perl: 36; makefile: 4
file content (21 lines) | stat: -rwxr-xr-x 362 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
#!/bin/bash

function clean_files()
{
	for p in "$@" ; do
		echo "Cleaning " "$p"
		for a in `find . -name "$p"`; do
			echo $a
			rm -Rf $a
		done
	done
}

echo "Cleaning files"

make clean

clean_files CMakeFiles _CPack_Packages CMakeCache.txt cmake_install.cmake install_manifest.txt CPackConfig.cmake CPackSourceConfig.cmake '*~' clean Makefile

rm -Rf src