[go: up one dir, main page]

File: rules

package info (click to toggle)
tilestache 1.31.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 1,016 kB
  • ctags: 928
  • sloc: python: 4,068; makefile: 10
file content (21 lines) | stat: -rwxr-xr-x 474 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

PREFIX := $(CURDIR)/debian/tilestache/

%:
	dh $@ \
		--with python2

override_dh_auto_install:
	dh_auto_install

	rm -rf $(PREFIX)/usr/share/tilestache

	# rename the binaries
	for p in tilestache-seed.py tilestache-render.py tilestache-server.py tilestache-compose.py tilestache-clean.py; do \
		mv $(PREFIX)/usr/bin/$$p $(PREFIX)/usr/bin/$$(basename $$p .py); \
	done