File: rules

package info (click to toggle)
screenkey 1%3A1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 496 kB
  • sloc: python: 3,767; xml: 92; makefile: 9; sh: 8
file content (24 lines) | stat: -rwxr-xr-x 784 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

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

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_clean:
	dh_clean
	# remove files created during the clean !
	rm -rf .eggs
	# remove build/mo and po files created due to the plugin for i18n
	rm -rf build
	rm -f po/screenkey.pot
	rm -f Screenkey/locale/*/LC_MESSAGES/*.mo
	# remove other files due to the egg system
	rm -rf screenkey.egg-info