Update of /cvsroot/ipbench/ipbench2/src/pymod
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26026/src/pymod
Modified Files:
Makefile.am
Log Message:
respect DESTDIR
Index: Makefile.am
===================================================================
RCS file: /cvsroot/ipbench/ipbench2/src/pymod/Makefile.am,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** Makefile.am 29 Jun 2005 01:37:52 -0000 1.13
--- Makefile.am 7 Mar 2006 05:10:51 -0000 1.14
***************
*** 22,30 ****
#the shared library
install-exec-hook:
! $(mkinstalldirs) $(PYTHON_SITE_PKG)
! cd $(PYTHON_SITE_PKG) && rm -f _ipbench_client.so && $(LN_S) libipbenchClientPython.so _ipbench_client.so
! cp ipbench_client.py $(PYTHON_SITE_PKG)
! cd $(PYTHON_SITE_PKG) && rm -f _ipbench_target.so && $(LN_S) libipbenchTargetPython.so _ipbench_target.so
! cp ipbench_target.py $(PYTHON_SITE_PKG)
ipbench_client.i: $(srcdir)/ipbench.i.in
--- 22,30 ----
#the shared library
install-exec-hook:
! $(mkinstalldirs) $(DESTDIR)$(pythondir)
! cd $(DESTDIR)$(pythondir) && rm -f _ipbench_client.so && $(LN_S) libipbenchClientPython.so _ipbench_client.so
! cp ipbench_client.py $(DESTDIR)/$(pythondir)
! cd $(DESTDIR)$(pythondir) && rm -f _ipbench_target.so && $(LN_S) libipbenchTargetPython.so _ipbench_target.so
! cp ipbench_target.py $(DESTDIR)/$(pythondir)
ipbench_client.i: $(srcdir)/ipbench.i.in
|