File: rules

package info (click to toggle)
python-zopfli 0.2.3.post1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 192 kB
  • sloc: ansic: 372; python: 335; makefile: 8
file content (14 lines) | stat: -rwxr-xr-x 336 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
# -*- makefile -*-

export PYBUILD_NAME = zopfli
export PYBUILD_BEFORE_TEST = cp {dir}/README.rst {build_dir}/
export PYBUILD_AFTER_TEST = rm -fv {build_dir}/README.rst

export USE_SYSTEM_ZOPFLI = 1

%:
	dh $@ --buildsystem=pybuild

execute_before_dh_auto_configure:
	cp -fv debian/zopfli-header/zopflipng_lib.h src/