Skip to content

Commit

Permalink
create python-mapscript install destination directory (#4445)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbonfort committed Sep 6, 2012
1 parent 8b61e09 commit f8d8837
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mapscript/python/Makefile.in
Expand Up @@ -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)

Expand Down

0 comments on commit f8d8837

Please sign in to comment.