File: rules

package info (click to toggle)
emu8051 1.1.1-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 956 kB
  • ctags: 564
  • sloc: ansic: 5,756; sh: 1,155; perl: 724; asm: 101; makefile: 88
file content (22 lines) | stat: -rwxr-xr-x 547 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
#!/usr/bin/make -f
  
LDFLAGS+=-Wl,-z,defs -Wl,--as-needed

# Enable all hardening flags
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh ${@}

override_dh_auto_install:
	dh_auto_install
	#Add command here to install desktop file
	$(MAKE) DESTDIR=$(CURDIR)/debian/emu8051 install
	dh_install debian/emu8051.desktop usr/share/applications
	#Link executables for man file
	dh_link /usr/share/man/man1/emu8051.1 /usr/share/man/man1/emu8051-gtk.1
	dh_link /usr/share/man/man1/emu8051.1 /usr/share/man/man1/emu8051-cli.1