File: rules

package info (click to toggle)
python-django-filebrowser 0%2Bsvn322-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 432 kB
  • ctags: 130
  • sloc: python: 950; makefile: 21
file content (29 lines) | stat: -rwxr-xr-x 614 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
23
24
25
26
27
28
29
#!/usr/bin/make -f

clean:
	dh $@
	rm -rf django_filebrowser.egg-info

build:
	dh $@
	find filebrowser -executable -type f -exec chmod -x {} +

install: build
	dh $@

binary-indep: install
	dh $@

binary-arch:

binary: binary-indep binary-arch
	dh $@

get-orig-source:
	svn checkout http://django-filebrowser.googlecode.com/svn/trunk/ filebrowser
	set -e; \
	revno=`svn info filebrowser | grep Revision | cut -d" " -f2`; \
	dirname=python-django-filebrowser-0+svn$$revno; \
	svn export filebrowser $$dirname; \
	tar zcf python-django-filebrowser_0+svn$$revno.orig.tar.gz $$dirname; \
	rm -rf filebrowser $$dirname