File: rules

package info (click to toggle)
python-pandocfilters 1.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 244 kB
  • sloc: python: 714; makefile: 23
file content (18 lines) | stat: -rwxr-xr-x 515 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
# -*- makefile -*-

export PYBUILD_NAME=pandocfilters

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

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

execute_after_dh_install:
	@# dh_fixperms doesn't consider .py and .ly files (2020-12), remove the exec bit manually.
	find debian/python3-pandocfilters/usr/lib -type f -exec chmod a-x '{}' ';'

execute_after_dh_installexamples:
	find debian/python3-pandocfilters/usr/share/doc \
		-name '*.ly' -type f -exec chmod a-x '{}' ';'