update prefix.patch

This commit is contained in:
Timo Aaltonen 2014-07-01 19:38:13 +03:00
parent 2a722f2b44
commit 214d99acdf

View File

@ -5,7 +5,7 @@ use the debian layout when installing python modules
--- a/Makefile --- a/Makefile
+++ b/Makefile +++ b/Makefile
@@ -96,9 +96,9 @@ client-install: client client-dirs @@ -95,9 +95,9 @@ client-install: client client-dirs
done done
cd install/po && $(MAKE) install || exit 1; cd install/po && $(MAKE) install || exit 1;
if [ "$(DESTDIR)" = "" ]; then \ if [ "$(DESTDIR)" = "" ]; then \
@ -26,6 +26,15 @@ use the debian layout when installing python modules
fi fi
tests: version-update tests-man-autogen tests: version-update tests-man-autogen
@@ -180,7 +180,7 @@ tests-install: tests
if [ "$(DESTDIR)" = "" ]; then \
cd ipatests; $(PYTHON) setup.py install; \
else \
- cd ipatests; $(PYTHON) setup.py install --root $(DESTDIR); \
+ cd ipatests; $(PYTHON) setup.py install --root $(DESTDIR) --install-layout=deb; \
fi
cd ipatests/man && $(MAKE) install
--- a/ipapython/Makefile --- a/ipapython/Makefile
+++ b/ipapython/Makefile +++ b/ipapython/Makefile
@@ -14,7 +14,7 @@ install: @@ -14,7 +14,7 @@ install: