98 lines
2.0 KiB
Plaintext
98 lines
2.0 KiB
Plaintext
|
#!/usr/bin/make -f
|
||
|
# -*- makefile -*-
|
||
|
# Uncomment this to turn on verbose mode.
|
||
|
export DH_VERBOSE=1
|
||
|
|
||
|
DEBDIR = ..
|
||
|
|
||
|
comma :=,
|
||
|
empty :=
|
||
|
space := $(empty) $(empty)
|
||
|
|
||
|
# Build options
|
||
|
ENABLE_MULTITOUCH = false
|
||
|
QMAKE_OPTIONS+=CONFIG+=notests
|
||
|
|
||
|
# shared library versions, option 1
|
||
|
version=0.1.0
|
||
|
major=0
|
||
|
|
||
|
QT_INSTALL_DATA:=$(shell qmake -query QT_INSTALL_DATA)
|
||
|
QT_INSTALL_PLUGINS:=$(shell qmake -query QT_INSTALL_PLUGINS)
|
||
|
|
||
|
configure: configure-stamp
|
||
|
configure-stamp:
|
||
|
dh_testdir
|
||
|
qmake -r $(QMAKE_OPTIONS)
|
||
|
touch configure-stamp
|
||
|
|
||
|
build: build-stamp
|
||
|
build-stamp: configure-stamp
|
||
|
dh_testdir
|
||
|
|
||
|
make $(PARALLEL_MAKEFLAGS)
|
||
|
|
||
|
touch build-stamp
|
||
|
|
||
|
clean:
|
||
|
dh_testdir
|
||
|
dh_testroot
|
||
|
|
||
|
rm -f build-stamp configure-stamp
|
||
|
|
||
|
make $(PARALLEL_MAKEFLAGS) clean || true
|
||
|
rm -f lib/*
|
||
|
rm -rf .obj
|
||
|
|
||
|
dh_clean
|
||
|
|
||
|
install: build
|
||
|
dh_testdir
|
||
|
dh_testroot
|
||
|
dh_clean -k
|
||
|
dh_installdirs $(EXCLUSIONS)
|
||
|
|
||
|
# Then proceed to normal installation
|
||
|
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 INSTALL_ROOT=$(CURDIR)/debian/tmp make $(PARALLEL_MAKEFLAGS) install
|
||
|
|
||
|
|
||
|
# Build architecture-independent files here.
|
||
|
binary-indep: build install
|
||
|
# We have nothing to do by default.
|
||
|
|
||
|
# Build architecture-dependent files here.
|
||
|
binary-arch: build install
|
||
|
dh_testdir $(EXCLUSIONS)
|
||
|
dh_testroot $(EXCLUSIONS)
|
||
|
dh_installchangelogs $(EXCLUSIONS)
|
||
|
dh_installdocs $(EXCLUSIONS)
|
||
|
dh_install --sourcedir=debian/tmp $(EXCLUSIONS) -v
|
||
|
dh_gconf $(EXCLUSIONS)
|
||
|
# dh_installexamples
|
||
|
# dh_install
|
||
|
# dh_installmenu
|
||
|
# dh_installdebconf
|
||
|
# dh_installlogrotate
|
||
|
# dh_installemacsen
|
||
|
# dh_installpam
|
||
|
# dh_installmime
|
||
|
# dh_installinit
|
||
|
# dh_installcron
|
||
|
# dh_installinfo
|
||
|
# dh_installman
|
||
|
dh_link $(EXCLUSIONS)
|
||
|
dh_strip --dbg-package=maliit-framework
|
||
|
dh_compress $(EXCLUSIONS)
|
||
|
dh_fixperms $(EXCLUSIONS)
|
||
|
# dh_perl
|
||
|
# dh_python
|
||
|
dh_makeshlibs $(EXCLUSIONS)
|
||
|
dh_installdeb $(EXCLUSIONS)
|
||
|
dh_shlibdeps $(EXCLUSIONS)
|
||
|
dh_gencontrol $(EXCLUSIONS)
|
||
|
dh_md5sums $(EXCLUSIONS)
|
||
|
dh_builddeb --destdir=$(DEBDIR) $(EXCLUSIONS)
|
||
|
|
||
|
binary: binary-indep binary-arch
|
||
|
.PHONY: build clean binary-indep binary-arch binary install configure
|