File: rules

package info (click to toggle)
pyfiglet 0.4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 228 kB
  • ctags: 187
  • sloc: python: 1,742; makefile: 11
file content (14 lines) | stat: -rwxr-xr-x 497 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

%:
	dh --with python2 $@

get-orig-source:
	set -e; \
	VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^+]+).*,\1,p'); \
	uscan --noconf --force-download --rename --download-version=$$VER --destdir=.; \
	tar -x --exclude=fonts.zip --exclude=figfont.txt -f pyfiglet_$$VER.orig.tar.bz2; \
	GZIP=--best tar -cz --owner root --group root --mode a+rX \
	    -f pyfiglet_$$VER+dfsg.orig.tar.gz pyfiglet-$$VER; \
	rm -f pyfiglet_$$VER.orig.tar.bz2; \
	rm -rf pyfiglet-$$VER