File: rules

package info (click to toggle)
plantuml 1%3A1.2020.2%2Bds-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 25,432 kB
  • sloc: java: 243,561; javascript: 1,376; xml: 216; sh: 103; makefile: 14
file content (22 lines) | stat: -rwxr-xr-x 606 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
22
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_clean:
	rm -rf build dist

%.1: %.pod
	pod2man -c "" -d $$(date -u -d "$$(dpkg-parsechangelog -S Date)" +%F) -r "" $< > $@

override_dh_auto_build: debian/plantuml.1
	dh_auto_build -- dist

override_dh_auto_install:
	install -m 755 $(CURDIR)/debian/plantuml.sh $(CURDIR)/debian/plantuml/usr/bin/plantuml

execute_before_dh_gencontrol:
	dpkg-shlibdeps -pfontmanager -xlibc6 -xlibstdc++6 -xlibgcc-s1 \
		-Tdebian/plantuml.substvars /usr/lib/jvm/default-java/lib/libfontmanager.so

.PHONY: override_dh_auto_clean override_dh_auto_build override_dh_auto_install