From a5bcb1a4f613f3526405c2677ab168146b1b1fd2 Mon Sep 17 00:00:00 2001 From: Per Olofsson Date: Fri, 24 Nov 2006 16:32:53 +0100 Subject: [PATCH] add prefix-in-makefile patch --- debian/patches/prefix-in-makefile | 17 +++++++++++++++++ debian/patches/series | 1 + 2 files changed, 18 insertions(+) create mode 100644 debian/patches/prefix-in-makefile create mode 100644 debian/patches/series diff --git a/debian/patches/prefix-in-makefile b/debian/patches/prefix-in-makefile new file mode 100644 index 0000000..27d707d --- /dev/null +++ b/debian/patches/prefix-in-makefile @@ -0,0 +1,17 @@ +Index: pnputils/Makefile +=================================================================== +--- pnputils.orig/Makefile 2006-11-24 16:21:36.000000000 +0100 ++++ pnputils/Makefile 2006-11-24 16:22:35.000000000 +0100 +@@ -12,9 +12,9 @@ + M=`echo $(DATE)`; sed <$< >$@ "s/@TODAY@/$$M/;s/@VERSION@/pnputils-$(VERSION)/;" + + install: all +- install -m 755 lspnp setpnp /sbin +- install -m 644 lspnp.8 setpnp.8 /usr/share/man/man8 +- install -m 644 pnp.ids /usr/share/misc ++ install -m 755 lspnp setpnp $(prefix)/sbin ++ install -m 644 lspnp.8 setpnp.8 $(prefix)/usr/share/man/man8 ++ install -m 644 pnp.ids $(prefix)/usr/share/misc + + REL=pnputils-$(VERSION) + DISTTMP=/tmp/pnputils-dist diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..bd3c31f --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +prefix-in-makefile -- 2.32.0.93.g670b81a890