File: rules

package info (click to toggle)
freewheeling 0.6.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 3,244 kB
  • sloc: cpp: 24,079; xml: 3,631; ansic: 1,818; sh: 1,232; makefile: 31
file content (26 lines) | stat: -rwxr-xr-x 794 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
#!/usr/bin/make -f

# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@ --with autoreconf

override_dh_auto_install:
	$(MAKE) install DESTDIR=$(CURDIR)/debian/freewheeling
	dh_install debian/freewheeling.desktop usr/share/applications
	dh_install debian/freewheeling.xpm usr/share/pixmaps
	dh_install debian/freewheeling-16.xpm usr/share/pixmaps
	#Remove upstream vera fonts
	rm -f $(CURDIR)/debian/freewheeling/usr/share/fweelin/vera*.ttf
	# generate manpage and install it
	docbook-to-man debian/freewheeling.sgml > freewheeling.1
	dh_installman freewheeling.1

override_dh_auto_clean:
	[ ! -f Makefile ] || $(MAKE) -k distclean
	rm -f freewheeling.1
	rm -f config.log config.status Makefile data/Makefile src/Makefile
	rm -f config.sub config.guess