mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
debian packaging: replace %Module directive in header for older sip versions in squeeze and lucid (following 61e101dd4)
This commit is contained in:
parent
a6f9f56309
commit
0f3f440cdf
8
debian/rules
vendored
8
debian/rules
vendored
@ -155,9 +155,17 @@ build: build-stamp
|
||||
build-stamp: debian/build/CMakeCache.txt
|
||||
dh_testdir
|
||||
|
||||
ifneq (,$(findstring $(DISTRIBUTION),"squeeze lucid"))
|
||||
perl -0777 -i.bak -pe 's/^%Module\(name=(.*),\s*version=(\d+),\s*keyword_arguments="Optional"\s*\)/%Module $$1 $$2/m;' python/core/core.sip python/gui/gui.sip python/analysis/analysis.sip
|
||||
endif
|
||||
|
||||
# Add here commands to compile the package.
|
||||
$(MAKE) -C debian/build
|
||||
|
||||
ifneq (,$(findstring $(DISTRIBUTION),"squeeze lucid"))
|
||||
for i in python/core/core.sip python/gui/gui.sip python/analysis/analysis.sip; do mv $$i.bak $$i; done
|
||||
endif
|
||||
|
||||
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
||||
# Code to run the package test suite - and ignore the outcome for now
|
||||
-LD_LIBRARY_PATH=$(PWD)/debian/build/output/lib:$(LD_LIBRARY_PATH) $(TESTMAKE) -C debian/build $(DEB_TEST_TARGET)
|
||||
|
Loading…
x
Reference in New Issue
Block a user