File: rules

package info (click to toggle)
ddupdate 0.7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 420 kB
  • sloc: python: 1,899; sh: 38; makefile: 35
file content (11 lines) | stat: -rwxr-xr-x 352 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f

export PYBUILD_NAME=ddupdate
export PYBUILD_AFTER_CONFIGURE= \
           sed -i '/glob/s|systemd_unitdir()|"lib/systemd/user"|' setup.py
export PYBUILD_AFTER_INSTALL= \
           sed -i -e 's|=.*/usr|= /usr|' -e '/^root/d' \
           {destdir}{install_dir}/ddupdate/install.conf

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