summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 1fc883b00598a059707a97f8b35fe59a66034482 (plain)
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
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh --with quilt $@



override_dh_auto_build:
	# git doesn't preserve empty dirs, this is for git-buildpackage
	mkdir -p plugins
	$(MAKE) -C src targets

override_dh_auto_clean:
	dh_auto_clean
	$(MAKE) -C src clean

override_dh_auto_install:
	$(MAKE) -C src install DESTDIR=$(CURDIR)/debian/ladspa-sdk \
	INSTALL_PLUGINS_DIR=$(CURDIR)/debian/ladspa-sdk/usr/lib/ladspa/ \
	INSTALL_INCLUDE_DIR=$(CURDIR)/debian/ladspa-sdk/usr/include/ \
	INSTALL_BINARY_DIR=$(CURDIR)/debian/ladspa-sdk/usr/bin/