File: rules

package info (click to toggle)
trac-spamfilter 0.2.1%2Bsvn6871-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 260 kB
  • ctags: 258
  • sloc: python: 1,683; cs: 341; makefile: 12
file content (16 lines) | stat: -rwxr-xr-x 481 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

get-orig-source:
	set -e ; \
		svn co http://svn.edgewall.com/repos/trac/sandbox/spam-filter trac-spamfilter-svn ; \
		REVISION=`svnversion trac-spamfilter-svn/` ; \
		find trac-spamfilter-svn/ -depth -type d -name ".svn" -print0 | xargs -0 rm -rf ; \
		tar cfz trac-spamfilter_0.2.1+svn$$REVISION.orig.tar.gz trac-spamfilter-svn/ ; \
		rm -rf trac-spamfilter-svn/

%:
	dh --with quilt $@

override_dh_auto_clean:
	dh_auto_clean
	rm -rf TracSpamFilter.egg-info