]> git.pld-linux.org Git - packages/apache-mod_python.git/blob - apache-mod_python-DESTDIR.patch
- massive attack s/pld.org.pl/pld-linux.org/
[packages/apache-mod_python.git] / apache-mod_python-DESTDIR.patch
1 diff -Nur mod_python-3.0.1.orig/Makefile.in mod_python-3.0.1/Makefile.in
2 --- mod_python-3.0.1.orig/Makefile.in   Fri Nov  8 01:15:10 2002
3 +++ mod_python-3.0.1/Makefile.in        Thu Feb 27 09:48:44 2003
4 @@ -92,7 +92,8 @@
5         @echo
6         @echo "Performing DSO installation."
7         @echo
8 -       $(INSTALL) src/mod_python.so $(LIBEXECDIR)
9 +       $(INSTALL) -d $(DESTDIR)$(LIBEXECDIR)
10 +       $(INSTALL) src/mod_python.so $(DESTDIR)$(LIBEXECDIR)
11         @$(MAKE) install_py_lib
12         @echo
13         @echo "Now don't forget to edit your main config and add"
14 @@ -102,13 +103,13 @@
15         @echo
16  
17  install_py_lib:
18 -       $(INSTALL) -d $(PY_STD_LIB)/site-packages/mod_python
19 +       $(INSTALL) -d $(DESTDIR)$(PY_STD_LIB)/site-packages/mod_python
20         @for f in `ls lib/python/mod_python/*.py`; \
21         do \
22 -               $(INSTALL) $$f $(PY_STD_LIB)/site-packages/mod_python; \
23 +               $(INSTALL) $$f $(DESTDIR)$(PY_STD_LIB)/site-packages/mod_python; \
24         done
25         ${PYTHON_BIN} $(PY_STD_LIB)/compileall.py $(PY_STD_LIB)/site-packages/mod_python
26 -       ${PYTHON_BIN} -O $(PY_STD_LIB)/compileall.py $(PY_STD_LIB)/site-packages/mod_python
27 +       ${PYTHON_BIN} -O $(PY_STD_LIB)/compileall.py $(DESTDIR)$(PY_STD_LIB)/site-packages/mod_python
28  
29  clean:
30         cd src && $(MAKE) clean
This page took 0.316527 seconds and 3 git commands to generate.