File: rules

package info (click to toggle)
gui-ufw 20.04.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 11,224 kB
  • sloc: python: 2,406; sh: 13; makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 431 bytes parent folder | download | duplicates (4)
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 $@ --with python3 --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 --