[PATCH] Respect DESTDIR in comedi_soft_calibrate/Makefile.am's install-data-local.

7 views
Skip to first unread message

W. Trevor King

unread,
Feb 12, 2012, 7:32:15 AM2/12/12
to comed...@googlegroups.com
I just found this packaging bug in comedi_calibrate while packaging it
for Gentoo. Now this rule matches the similar one for
comedi_calibrate/Makefile.am. That makefile had this fix applied back
in 2006 (commit 7489d0d825d676206a398a20a3454b0cd9c42bb0), but this
makefile seems to have escaped until now.

Cheers,
Trevor

---
comedi_soft_calibrate/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/comedi_soft_calibrate/Makefile.am b/comedi_soft_calibrate/Makefile.am
index 1fb877a..9449ca0 100644
--- a/comedi_soft_calibrate/Makefile.am
+++ b/comedi_soft_calibrate/Makefile.am
@@ -9,7 +9,7 @@ comedi_soft_calibrate_LDADD = ../libcomedi_calibrate/libcomedi_calibrate.a \
-lcomedi -lboost_program_options -lgsl -lgslcblas -lm

install-data-local:
- $(INSTALL) -d $(localstatedir)/lib/comedi/calibrations
+ $(INSTALL) -d $(DESTDIR)$(localstatedir)/lib/comedi/calibrations

EXTRA_DIST = results

--
1.7.3.4

signature.asc

Ian Abbott

unread,
Feb 13, 2012, 5:10:14 AM2/13/12
to comed...@googlegroups.com
On 2012-02-12 12:32, W. Trevor King wrote:
> I just found this packaging bug in comedi_calibrate while packaging it
> for Gentoo. Now this rule matches the similar one for
> comedi_calibrate/Makefile.am. That makefile had this fix applied back
> in 2006 (commit 7489d0d825d676206a398a20a3454b0cd9c42bb0), but this
> makefile seems to have escaped until now.
>
> Cheers,
> Trevor

Applied, thanks!

--
-=( Ian Abbott @ MEV Ltd. E-mail: <abb...@mev.co.uk> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-

Reply all
Reply to author
Forward
0 new messages