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