filelayout
authorPeter Michael Green <plugwash@debian.org>
Thu, 29 Feb 2024 20:51:34 +0000 (20:51 +0000)
committerBenjamin Drung <bdrung@debian.org>
Thu, 29 Feb 2024 20:51:34 +0000 (20:51 +0000)
Gbp-Pq: Name 09-filelayout.patch

Makefile

index 0aa14fe400303e6efbc371be38f6fa93cb5ec9e8..318c224f93cd88734a5569f3b4319d4c3a6d09aa 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ LL2      = -L. -lpigpiod_if -pthread -lrt
 
 LL3      = -L. -lpigpiod_if2 -pthread -lrt
 
-prefix = /usr/local
+prefix = /usr
 exec_prefix = $(prefix)
 bindir = $(exec_prefix)/bin
 includedir = $(prefix)/include
@@ -83,7 +83,7 @@ clean:
 ifeq ($(DESTDIR),)
   PYINSTALLARGS =
 else
-  PYINSTALLARGS = --root=$(DESTDIR)
+  PYINSTALLARGS = --install-layout=deb --root=$(DESTDIR)
 endif
 
 install:       $(ALL)