File: rules

package info (click to toggle)
cwidget 0.5.17-11
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 3,600 kB
  • sloc: cpp: 15,802; sh: 11,985; makefile: 223; sed: 16; perl: 15
file content (38 lines) | stat: -rwxr-xr-x 843 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
32
33
34
35
36
37
38
#!/usr/bin/make -f

#export DH_VERBOSE=1


export DEB_CXXFLAGS_MAINT_APPEND := -pipe -Wall
export DEB_LDFLAGS_MAINT_APPEND  := -Wl,--as-needed


%:
	dh $@ --dbgsym-migration='libcwidget3v5-dbg (<< 0.5.17-4~)'

override_dh_auto_configure:
	dh_auto_configure -- --disable-werror $(CROSS_CONFIGURE_OPTIONS)

override_dh_auto_clean:
	-rm -rf doc/ikiwiki/.ikiwiki
	dh_auto_clean

# Build indep overrides
override_dh_auto_build-indep:
	$(MAKE) -C doc doc

override_dh_auto_test-indep:
        # No tests needed for docs

override_dh_auto_install-indep:
	$(MAKE) -C doc install
	dh_install -i -Xjquery.min.js -Xjquery.js

override_dh_installchangelogs:
	dh_installchangelogs -- NEWS

override_dh_installexamples:
	dh_installexamples -plibcwidget-dev src/cwidget/testcwidget.cc

override_dh_makeshlibs:
	dh_makeshlibs -V "libcwidget3v5 (>= 0.5.17-8)"