File: rules

package info (click to toggle)
cmt 1.16-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 548 kB
  • sloc: cpp: 6,852; makefile: 95
file content (23 lines) | stat: -rwxr-xr-x 510 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
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk

# Can be built in parallel
DEB_BUILD_PARALLEL = 1

DEB_BUILDDIR = src
DEB_MAKE_INSTALL_TARGET = install INSTALL_PLUGINS_DIR=$(PLUGINDIR)
CFLAGS += -fPIC
CXXFLAGS += -fPIC

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


install/cmt::
	mkdir -p $(DOCDIR)
	install -m 644 -p -o root -g root src/freeverb/readme.txt \
		$(DOCDIR)/freeverb-readme.txt