File: rules

package info (click to toggle)
ddrescueview 0.4~alpha3-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,012 kB
  • sloc: pascal: 2,540; makefile: 11
file content (20 lines) | stat: -rwxr-xr-x 411 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

# Set temporary HOME for lazarus primary config directory
export HOME=$(CURDIR)/tmphome

%:
	dh $@

override_dh_auto_build:
	lazbuild source/ddrescueview.lpi --bm="GNU/Linux Release" --no-write-project

override_dh_auto_install:
	# Fix some permissions
	chmod -x $(CURDIR)/resources/linux/*
	dh_auto_install

override_dh_clean:
	# Clean up temporary HOME
	rm -rf $(CURDIR)/tmphome
	dh_clean