File: rules

package info (click to toggle)
gav 0.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,556 kB
  • sloc: cpp: 4,400; makefile: 117; sh: 15
file content (31 lines) | stat: -rwxr-xr-x 722 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

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

include /usr/share/dpkg/buildtools.mk
LD ?= ld

%:
	dh $@

override_dh_auto_build:
	CFLAGS="$(CFLAGS)" CXXFLAGS="$(CFLAGS)" dh_auto_build -- LD=$(LD)

override_dh_auto_install:
	dh_auto_install -- ROOT=$(CURDIR)/debian/gav
	# FIXME the new upstream source contains all themes - this should be merged with gav-themes source package
	# For the moment remove the themes just from binary package
	for theme in \
	    fabeach \
	    inverted \
	    naive \
	    unnamed \
	    yisus \
	    yisus2 \
	    ; do \
		find debian -type d -name $${theme} | xargs rm -rf \{\} ; \
	done

override_dh_installchangelogs:
	dh_installchangelogs CHANGELOG