File: rules

package info (click to toggle)
gtkwave 3.3.126-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,548 kB
  • sloc: ansic: 127,457; cpp: 20,432; sh: 4,558; java: 634; xml: 432; makefile: 301; lex: 236; perl: 93; objc: 68; csh: 28; tcl: 25
file content (27 lines) | stat: -rwxr-xr-x 722 bytes parent folder | download | duplicates (3)
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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DESTDIR=$(CURDIR)/debian/gtkwave

STRUCT_PACK=
ifneq (,$(filter %amd64 avr32 %i386 m68k powerpc s390 s390x, $(DEB_HOST_ARCH) ))
  STRUCT_PACK=--enable-struct-pack
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-gtk3 --enable-judy --with-gsettings $(STRUCT_PACK) --disable-mime-update

override_dh_installdocs:
	dh_installdocs
	mv $(DESTDIR)/usr/share/gtkwave-gtk3/*.odt $(DESTDIR)/usr/share/doc/gtkwave

override_dh_installexamples:
	mv $(DESTDIR)/usr/share/gtkwave-gtk3/examples $(DESTDIR)/usr/share/doc/gtkwave/
	rmdir $(DESTDIR)/usr/share/gtkwave-gtk3

override_dh_compress:
	dh_compress --exclude=examples --exclude=odt