devscripts/devscripts-2.11.7-remove-install-layout-deb.patch

13 lines
657 B
Diff

diff -urN devscripts-2.11.7.orig/scripts/Makefile devscripts-2.11.7/scripts/Makefile
--- devscripts-2.11.7.orig/scripts/Makefile 2012-05-21 20:25:34.530645434 +0800
+++ devscripts-2.11.7/scripts/Makefile 2012-05-21 20:25:52.685418466 +0800
@@ -76,7 +76,7 @@
$(foreach python,$(shell pyversions -r ../debian/control),$(python) setup.py test$(\n))
install: all
- python setup.py install --root="$(DESTDIR)" --no-compile --install-layout=deb
+ python setup.py install --root="$(DESTDIR)" --no-compile --prefix=/usr
install -dD $(DESTDIR)$(BINDIR) $(DESTDIR)$(LIBDIR)
cp $(SCRIPTS) $(DESTDIR)$(BINDIR)
ln -sf edit-patch $(DESTDIR)$(BINDIR)/add-patch