File: rules

package info (click to toggle)
gexiv2 0.12.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 880 kB
  • sloc: cpp: 2,700; python: 835; ansic: 232; xml: 40; sh: 17; makefile: 16
file content (26 lines) | stat: -rwxr-xr-x 611 bytes parent folder | download | duplicates (2)
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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs

include /usr/share/dpkg/pkg-info.mk

# symbols.in files & their "generated" file names
SYMBOLS_in := $(wildcard debian/*.symbols.in)
SYMBOLS_generated := $(patsubst %.in,%,$(SYMBOLS_in))

%:
	dh $@ --with gir

override_dh_auto_configure:
	dh_auto_configure -- \
	    -Dgtk_doc=true

override_dh_makeshlibs: $(SYMBOLS_generated)
	dh_makeshlibs

debian/%.symbols: debian/%.symbols.in
	sed -e 's/#CURVER#/$(DEB_VERSION_UPSTREAM)/g' $^ > $@

override_dh_installchangelogs:
	dh_installchangelogs NEWS