File: rules

package info (click to toggle)
ipe-tools 1%3A7.2.20-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 840 kB
  • sloc: cpp: 2,677; python: 2,109; ansic: 1,053; sh: 224; makefile: 88; xml: 39
file content (23 lines) | stat: -rwxr-xr-x 615 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@ --with python3

override_dh_auto_build:
	dh_auto_build --sourcedirectory=figtoipe
	dh_auto_build --sourcedirectory=ipe5toxml
	dh_auto_build --sourcedirectory=pdftoipe

override_dh_install:
#	svgtoipe has no Makefile and the script is called svgtoipe.py
	install -D -p svgtoipe/svgtoipe.py $(CURDIR)/debian/svgtoipe/usr/bin/svgtoipe
#	install -D -p svgtoipe/svgtoipe.1 $(CURDIR)/debian/svgtoipe/usr/man/man1/svgtoipe.1

	dh_install

override_dh_auto_clean:
	$(MAKE) -C figtoipe clean
	$(MAKE) -C ipe5toxml clean
	$(MAKE) -C pdftoipe clean