File: makefile-am-fix-setup-py-install.patch

package info (click to toggle)
system-config-printer 1.5.18-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,920 kB
  • sloc: python: 22,106; sh: 5,138; ansic: 1,516; xml: 811; makefile: 376; sed: 16
file content (11 lines) | stat: -rw-r--r-- 426 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- a/Makefile.am
+++ b/Makefile.am
@@ -63,7 +63,7 @@
 
 # Use distutils to install the module.
 install-exec-local: .stamp-distutils-in-builddir
-	$(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
+	$(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(prefix) --install-layout=deb
 
 # Uninstall the module, crossing our fingers that we know enough
 # about how distutils works to do this.  Unfortunately, distutils