File: rules

package info (click to toggle)
hexbox 1.5.0-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 2,440 kB
  • ctags: 1,210
  • sloc: cs: 6,784; makefile: 21; sh: 1
file content (30 lines) | stat: -rwxr-xr-x 1,062 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
#!/usr/bin/make -f

pkg_bin = hexbox
pkg_lib = libhexbox1.5-cil

override_dh_auto_build:
	xbuild /p:TargetFrameworkVersion="v4.5" $(CURDIR)/sources/Be.HexEditor.sln
	mdoc update -i  ./sources/Be.Windows.Forms.HexBox/Be.Windows.Forms.HexBox.xml \
	 -o monodocer ./sources/Be.Windows.Forms.HexBox/bin/Debug/Be.Windows.Forms.HexBox.dll
	mdoc assemble -o hexbox monodocer

override_dh_auto_install:
	#dh_install -p$(pkg_bin) debian/hexbox usr/bin
	install -D -m0755 $(CURDIR)/debian/hexbox.sh $(CURDIR)/debian/hexbox/usr/bin/hexbox
	dh_install -p$(pkg_bin) sources/Be.HexEditor/bin/Debug/Be.HexEditor.exe usr/lib/cli/Be.HexEditor/
	dh_install -p$(pkg_lib) sources/Be.HexEditor/bin/Debug/Be.Windows.Forms.HexBox.dll usr/lib/cli/Be.Windows.Forms.HexBox

%:
	dh $@ --with cli

override_dh_auto_clean:
	xbuild $(CURDIR)/sources/Be.HexEditor.sln /target:Clean

override_dh_clean:
	dh_clean sources/Be.Windows.Forms.HexBox/Be.Windows.Forms.HexBox.xml
	dh_clean hexbox.zip hexbox.tree
	rm -rf monodocer

get-orig-source:
	uscan --verbose --rename --repack --force-download