Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
also update networkanalysis.sip (following 61e101d)
  • Loading branch information
jef-n committed Jun 11, 2013
1 parent 0f3f440 commit 597c402
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions debian/rules
Expand Up @@ -156,14 +156,14 @@ 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
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 python/analysis/network/networkanalysis.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
for i in python/core/core.sip python/gui/gui.sip python/analysis/analysis.sip python/analysis/network/networkanalysis.sip; do mv $$i.bak $$i; done
endif

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
Expand Down
4 changes: 3 additions & 1 deletion python/analysis/network/networkanalysis.sip
@@ -1,4 +1,6 @@
%Module qgis.networkanalysis 0
%Module(name=qgis.networkanalysis,
version=0,
keyword_arguments="Optional")

%Import QtCore/QtCoremod.sip
%Import core/core.sip
Expand Down

0 comments on commit 597c402

Please sign in to comment.