File: rules

package info (click to toggle)
pyglossary 3.2.1-1.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 1,416 kB
  • sloc: python: 13,430; makefile: 36
file content (17 lines) | stat: -rwxr-xr-x 972 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /usr/bin/make -f

export PYBUILD_NAME=pyglossary

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

override_dh_fixperms:
	dh_fixperms
	chmod -x debian/python3-pyglossary/usr/share/pyglossary/AUTHORS
	chmod -x debian/python3-pyglossary/usr/share/pyglossary/res/mimapps.list
	chmod -x debian/python3-pyglossary/usr/share/pyglossary/res/pyglossary.xbm
	chmod -x debian/python3-pyglossary/usr/lib/python3/dist-packages/pyglossary/plugins/appledict/jing/jing/readme.html
	chmod -x debian/python3-pyglossary/usr/lib/python3/dist-packages/pyglossary/plugins/appledict/jing/DictionarySchema/modules/dict-struct.rng
	chmod -x debian/python3-pyglossary/usr/lib/python3/dist-packages/pyglossary/plugins/appledict/jing/DictionarySchema/AppleDictionarySchema.rng
	chmod -x debian/python3-pyglossary/usr/lib/python3/dist-packages/pyglossary/plugins/babylon_bgl/bgl_reader_debug.py
	rm -f debian/python3-pyglossary/usr/lib/python3/dist-packages/pyglossary/plugins/cc_cedict/.gitignore