diff options
author | Felipe Sateler <fsateler@debian.org> | 2010-12-28 21:39:18 -0300 |
---|---|---|
committer | Felipe Sateler <fsateler@debian.org> | 2010-12-28 21:39:18 -0300 |
commit | fb01d8796a359a9a9a9dbaf7636dc9f57c565857 (patch) | |
tree | c7154985bbf786eab6fb74a3430b0490a2fed20f /debian/rules | |
parent | 12adc60527cb034cc65826c5fa2f95385f3068fd (diff) |
Switch to CDBS
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/debian/rules b/debian/rules index 8fbffb4..3704dc4 100755 --- a/debian/rules +++ b/debian/rules @@ -1,26 +1,25 @@ #!/usr/bin/make -f +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/debhelper.mk + +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -%: - dh --with quilt $@ - +DEB_BUILDDIR = src +DEB_MAKE_BUILD_TARGET = targets +DEB_MAKE_INSTALL_TARGET = 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/ +CFLAGS += -fPIC +CXXFLAGS += -fPIC -override_dh_auto_build: - # git doesn't preserve empty dirs, this is for git-buildpackage +pre-build:: +# git doesn't preserve empty dirs, this is for git-buildpackage mkdir -p plugins mkdir -p bin - $(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/ |