File: rules

package info (click to toggle)
kid 0.9.6-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 2,272 kB
  • ctags: 4,632
  • sloc: python: 7,417; makefile: 118; sh: 47; xml: 4
file content (16 lines) | stat: -rwxr-xr-x 557 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/class/python-distutils.mk

# Install egg-info directories
DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed

binary-post-install/python-kid::
# Remove scripts which are provided by python-kid and fix rights
	find debian/python-kid -name 'run.py' -o -name 'compile.py' | xargs chmod 755

clean::
# Hack to work around "setup.py clean" creating pyc files
	find . -name \*.pyc -print0 | xargs -r0 rm