File: rules

package info (click to toggle)
scribes 0.4~r543-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 6,836 kB
  • ctags: 6,779
  • sloc: python: 32,963; perl: 2,747; xml: 2,233; sh: 847; makefile: 597
file content (22 lines) | stat: -rwxr-xr-x 623 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

BZR_REVISION = $(shell dpkg-parsechangelog | sed -rne 's,^Version: .*[~+]r([^-]+).*,\1,p')

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --prefix=/usr --disable-scrollkeeper --with-gconf-schema-file-dir=$${prefix}/usr/share/gconf/schemas

override_dh_auto_test:

clean:
	dh $@
	find . -name "*\.py[co]" -delete

get-orig-source:
	bzr export -r $(BZR_REVISION) scribes-0.4~r$(BZR_REVISION) lp:scribes
	tar --mtime='2009-08-17' -cf scribes_0.4~r$(BZR_REVISION).orig.tar \
		scribes-0.4~r$(BZR_REVISION)
	gzip -9fn scribes_0.4~r$(BZR_REVISION).orig.tar
	rm -rf scribes-0.4~r$(BZR_REVISION)