File: rules

package info (click to toggle)
gui-ufw 24.04.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,676 kB
  • sloc: python: 2,407; xml: 27; makefile: 12; sh: 3
file content (18 lines) | stat: -rwxr-xr-x 416 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

export PYBUILD_INSTALL_ARGS_python3=--install-lib=usr/share/gufw\
		--install-scripts=usr/bin

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_clean:
	dh_auto_clean --
	if [ -f "debian/gufw.pot" ]; then \
		mv debian/gufw.pot po/gufw.pot; \
	fi

override_dh_auto_build:
	# create a copy of po/gufw.pot before build as it is changed by setup.py
	cp po/gufw.pot debian/gufw.pot
	dh_auto_build --