File: rules

package info (click to toggle)
python-django-dmigrations 0.3.1%2Bsvn29-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 248 kB
  • ctags: 234
  • sloc: python: 1,614; makefile: 16
file content (22 lines) | stat: -rwxr-xr-x 457 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

include /usr/share/quilt/quilt.make

get-orig-source:
	set -e; \
		PKG=python-django-dmigrations; VER=0.3.1; \
		svn co http://dmigrations.googlecode.com/svn/trunk/ $$PKG; \
		REVISION=`svnversion $$PKG`; \
		find $$PKG -depth -type d -name ".svn" -print0| xargs -0 rm -rf; \
		tar cfz $${PKG}_$${VER}+svn$${REVISION}.orig.tar.gz $$PKG; \
		rm -rf $$PKG

clean: unpatch
	dh $@

binary: binary-indep
binary-indep: patch
	dh $@

%:
	dh $@