Build and install the python module by default
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
include /usr/share/quilt/quilt.make
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
@@ -7,7 +9,7 @@ DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||
|
||||
CFLAGS = -Wall -g
|
||||
LDFLAGS = -Wl,-z,defs
|
||||
#LDFLAGS = -Wl,-z,defs
|
||||
|
||||
#build qt4 UI only
|
||||
export QMAKE=qmake-qt4
|
||||
@@ -27,12 +29,12 @@ config.status: configure
|
||||
--prefix=/usr
|
||||
|
||||
build: build-stamp
|
||||
build-stamp: config.status
|
||||
build-stamp: $(QUILT_STAMPFN) config.status
|
||||
dh_testdir
|
||||
$(MAKE)
|
||||
touch $@
|
||||
|
||||
clean:
|
||||
clean: unpatch
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp config.log
|
||||
@@ -44,8 +46,8 @@ install:
|
||||
dh_testroot
|
||||
dh_prep
|
||||
dh_installdirs
|
||||
|
||||
$(MAKE) prefix=$(CURDIR)/debian/recoll/usr install
|
||||
(cd python/recoll;python setup.py install --install-layout=deb --root=$(CURDIR)/debian/recoll/ )
|
||||
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
|
||||
Reference in New Issue
Block a user