File: rules

package info (click to toggle)
cmt 1.18-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 576 kB
  • sloc: cpp: 7,000; makefile: 98
file content (19 lines) | stat: -rwxr-xr-x 459 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

TMPDIR=$(CURDIR)/debian/cmt
DOCDIR=$(TMPDIR)/usr/share/doc/cmt
PLUGINDIR=$(TMPDIR)/usr/lib/ladspa

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@ --sourcedirectory=src

override_dh_auto_install:
	dh_auto_install -- INSTALL_PLUGINS_DIR=$(PLUGINDIR)
	mkdir -p $(DOCDIR)
	install -m 644 -p src/freeverb/readme.txt \
		$(DOCDIR)/freeverb-readme.txt

# Skip test as it is not automatic (requires human hearing)
override_dh_auto_test: