summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules59
1 files changed, 0 insertions, 59 deletions
diff --git a/debian/rules b/debian/rules
deleted file mode 100755
index e725e4b..0000000
--- a/debian/rules
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/usr/bin/make -f
-
-# prevent 'installed' schemas from being registered on the build machine
-export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL := 1
-
-# detect cross-compiling and configure build appropriately
-export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
- confflags := --build=$(DEB_HOST_GNU_TYPE)
-else
- confflags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
-endif
-
-# standard install directories
-confflags += --prefix=/usr
-confflags += --libexecdir="\$${prefix}/lib/mate-panel"
-
-# rebuild everything
-confflags += --enable-maintainer-mode
-
-# one-time-build, don't waste time on dependency tracking
-confflags += --disable-dependency-tracking
-
-# don't do scrollkeeper at build-time
-confflags += --disable-scrollkeeper
-
-# remove un-necessary dependencies
-confflags += LDFLAGS=-Wl,--as-needed
-
-clean_paths := \
- aclocal.m4 \
- config.guess \
- config.sub \
- configure \
- depcomp \
- INSTALL \
- install-sh \
- libtool \
- ltmain.sh \
- missing \
- mkinstalldirs
-
-clean_filenames := \
- Makefile.in
-
-%:
- dh $@
-
-override_dh_auto_clean:
- dh_auto_clean
- for path in $(clean_paths); do rm -f "$$path"; done
- for filename in $(clean_filenames); do find -name "$$filename" -delete; done
-
-override_dh_auto_configure:
- gnome-autogen.sh $(confflags)
-
-override_dh_makeshlibs:
- dh_makeshlibs --exclude=/usr/lib/mate-sensors-applet/plugins/