File: rules

package info (click to toggle)
apvlv 0.4.0%2Brepack-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,032 kB
  • sloc: cpp: 8,912; makefile: 18
file content (29 lines) | stat: -rwxr-xr-x 762 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
23
24
25
26
27
28
29
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-DAPVLV_WITH_TXT=ON

override_dh_installchangelogs:
	dh_installchangelogs NEWS

override_dh_compress:
	dh_compress -XStartup.pdf

execute_before_dh_installdocs:
	mandoc -T pdf apvlv.1 > Startup.pdf

# cmake is a nice way to install this package's files, but it gets a
# few things wrong.  We run dh_auto_install and then tidy up.  Also
# see the d/install file.
execute_after_dh_auto_install:
	mv debian/apvlv/usr/share/doc/apvlv/apvlvrc.example \
		debian/apvlv/usr/share/doc/apvlv/examples/
	mv debian/apvlv/usr/share/doc/apvlv/main_menubar.glade \
		debian/apvlv/usr/lib/apvlv/
	rm -r debian/apvlv/usr/share/doc/apvlv/icons/