File: rules

package info (click to toggle)
dxf2gcode 20170925-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 3,992 kB
  • sloc: python: 12,624; xml: 38; makefile: 15
file content (20 lines) | stat: -rwxr-xr-x 480 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

%:
	dh $@ --with python3

override_dh_auto_clean:
	python3 st-setup.py clean -a
	rm -rf dxf2gcode_images5_rc.py \
	       dxf2gcode_ui5.py \
	       dxf2gcode.egg-info/ \
	       globals/__pycache__/ \
	       i18n/*.qm

override_dh_auto_build:
	./make_tr.py --no-pylupdate
	./make_py_uic.py
	python3 ./st-setup.py build

override_dh_auto_install:
	python3 ./st-setup.py install --prefix=usr --install-lib usr/lib/python3/dist-packages --root=debian/dxf2gcode