File: rules

package info (click to toggle)
task 2.5.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,588 kB
  • ctags: 8,723
  • sloc: cpp: 36,161; python: 11,324; perl: 8,697; ansic: 7,400; sh: 673; makefile: 19
file content (31 lines) | stat: -rwxr-xr-x 657 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all
DPKG_EXPORT_BUILDFLAGS=1
include /usr/share/dpkg/buildflags.mk

export CMAKE_BUILD_TYPE=release

version = $(shell dpkg-parsechangelog -SVersion)

%:
	dh $@

override_dh_auto_clean:
	dh_clean
	rm -f cmake.h commit.h test/basetest/*.pyc test/simpletap/*.pyc
	rm -rf obj-*

override_dh_auto_configure:
	dh_auto_configure -- -DTASK_RCDIR=share/taskwarrior

override_dh_auto_install:
	# Needed by #710321
	dh_auto_install
	cd debian/tmp/usr/share/doc/task/scripts/bash && mv task.sh task

.PHONY: get-orig-source
get-orig-source:
	sh ./debian/get-orig-source.sh $(version)

# vim:ts=4 sw=4 noet