File: rules

package info (click to toggle)
brewtarget 4.0.17-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 33,636 kB
  • sloc: cpp: 54,913; xml: 19,031; python: 1,196; sh: 183; makefile: 11
file content (21 lines) | stat: -rwxr-xr-x 710 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=optimize=-lto

%:
	dh $@ --buildsystem=cmake

# Remove upstream's copyright and changelog installation, we take care of that.
# Also correct installation path of two files
execute_after_dh_auto_install:
	rm -f $(CURDIR)/debian/brewtarget/usr/share/doc/brewtarget/COPYRIGHT
	rm -f $(CURDIR)/debian/brewtarget/usr/share/doc/brewtarget/RelaseNotes.markdown
	rm -rf $(CURDIR)/debian/brewtarget/usr/share/brewtarget/applications
	rm -rf $(CURDIR)/debian/brewtarget/usr/share/brewtarget/icons/hicolor/scalable/apps

override_dh_installchangelogs:
	dh_installchangelogs CHANGES.markdown

# Disable testing.
# Currently, all tests are failing.
override_dh_auto_test: