From f8d883715bb7bf0514a657822e214088fff61325 Mon Sep 17 00:00:00 2001 From: Thomas Bonfort Date: Thu, 6 Sep 2012 14:23:01 +0200 Subject: [PATCH] create python-mapscript install destination directory (#4445) --- mapscript/python/Makefile.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mapscript/python/Makefile.in b/mapscript/python/Makefile.in index df04296e6d..73164e2ae6 100644 --- a/mapscript/python/Makefile.in +++ b/mapscript/python/Makefile.in @@ -50,7 +50,10 @@ _mapscript.la: mapscript_wrap.lo pygdioctx/pygdioctx.lo $(MS_LIB) mapscript_wrap.c: ../mapscript.i $(SWIG) -python -shadow -modern -templatereduce -fastdispatch -fvirtual -fastproxy -modernargs -castmode -dirvtable -fastinit -fastquery -noproxydel -nobuildnone $(DEFINES) -o mapscript_wrap.c ../mapscript.i -install: _mapscript.la +install-dirs: + $(INSTALL) -d $(DESTDIR)$(PYLIBDIR) + +install: install-dirs _mapscript.la $(LTINSTALL) $(INSTALL) _mapscript.la $(DESTDIR)$(PYLIBDIR) $(INSTALL) -c mapscript.py $(DESTDIR)$(PYLIBDIR)