File: rules

package info (click to toggle)
ipe-tools 20150406-3
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 532 kB
  • ctags: 618
  • sloc: cpp: 2,021; python: 1,525; ansic: 1,053; makefile: 72; sh: 11
file content (21 lines) | stat: -rwxr-xr-x 505 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

%:
	dh $@ --with python2

override_dh_auto_build:
	$(MAKE) -C figtoipe
	$(MAKE) -C ipe5toxml
	$(MAKE) -C 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