File: rules

package info (click to toggle)
jaaa 0.8.4-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 252 kB
  • ctags: 392
  • sloc: cpp: 2,240; makefile: 35
file content (22 lines) | stat: -rwxr-xr-x 648 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
# -*- makefile -*-

MAINPACKAGE?=$(shell dpkg-parsechangelog | sed -n 's/Source: \(.*\)/\1/p')

%:
	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 debian/${MAINPACKAGE}.sgml > debian/${MAINPACKAGE}.1

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