File: rules

package info (click to toggle)
jaaa 0.9.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 232 kB
  • sloc: cpp: 2,210; makefile: 41
file content (31 lines) | stat: -rwxr-xr-x 810 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
30
31
#!/usr/bin/make -f
# -*- makefile -*-

MAINPACKAGE?=jaaa

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

include /usr/share/dpkg/buildtools.mk

export PREFIX=/usr
export PKG_CONF=$(PKG_CONFIG)

%:
	dh $@ --sourcedir=source

override_dh_auto_install:
	dh_auto_install
	install -d $(CURDIR)/debian/jaaa/usr/share/applications/
	install -d $(CURDIR)/debian/jaaa/usr/share/pixmaps/
	install -m 644 $(CURDIR)/debian/*.desktop $(CURDIR)/debian/jaaa/usr/share/applications/
	install -m 644 $(CURDIR)/debian/*.xpm $(CURDIR)/debian/jaaa/usr/share/pixmaps/

override_dh_auto_build:
	dh_auto_build
	docbook-to-man $(CURDIR)/debian/${MAINPACKAGE}.sgml > $(CURDIR)/debian/${MAINPACKAGE}.1

override_dh_auto_clean:
	dh_auto_clean
	rm -f $(CURDIR)/debian/${MAINPACKAGE}.1