From: Deftunix <deftunix@gmail.com>
To: drbd-user@lists.linbit.com
Subject: [Drbd-dev] DRBD 8.3.7 user/Makefile.in patch
Date: Sat, 25 Sep 2010 13:01:07 +0200 [thread overview]
Message-ID: <4C9DD673.1060403@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 177 bytes --]
Hi all,
i've found a little problem when installing drbd 8.3.7 from
source. It installs binary only related to $(DESTDIR) disregarding
$(sbindir).
Kind regards,
-- deftunix
[-- Attachment #2: user_Makefile.in.patch --]
[-- Type: text/plain, Size: 1862 bytes --]
--- drbd-8.3.7/user/Makefile.in.orig 2010-01-13 17:04:50.000000000 +0100
+++ drbd-8.3.7/user/Makefile.in 2010-09-25 12:26:17.963038793 +0200
@@ -98,23 +98,24 @@ distclean: clean
install:
ifeq ($(WITH_UTILS),yes)
- install -d $(DESTDIR)/sbin/
+ install -d $(DESTDIR)$(sbindir)
install -d $(DESTDIR)$(localstatedir)/lib/drbd
install -d $(DESTDIR)$(localstatedir)/lock
if getent group haclient > /dev/null 2> /dev/null ; then \
- install -g haclient -m 4750 drbdsetup $(DESTDIR)/sbin/ ; \
- install -g haclient -m 4750 drbdmeta $(DESTDIR)/sbin/ ; \
- install -m 755 drbdadm $(DESTDIR)/sbin/ ; \
+ install -g haclient -m 4750 drbdsetup $(DESTDIR)$(sbindir)/ ; \
+ install -g haclient -m 4750 drbdmeta $(DESTDIR)$(sbindir)/ ; \
+ install -m 755 drbdadm $(DESTDIR)$(sbindir)/ ; \
else \
- install -m 755 drbdsetup $(DESTDIR)/sbin/ ; \
- install -m 755 drbdmeta $(DESTDIR)/sbin/ ; \
- install -m 755 drbdadm $(DESTDIR)/sbin/ ; \
+ install -m 755 drbdsetup $(DESTDIR)$(sbindir)/ ; \
+ install -m 755 drbdmeta $(DESTDIR)$(sbindir)/ ; \
+ install -m 755 drbdadm $(DESTDIR)$(sbindir)/ ; \
fi
endif
uninstall:
- rm -f $(DESTDIR)/sbin/drbdsetup
- rm -f $(DESTDIR)/sbin/drbdadm
+ rm -f $(DESTDIR)$(sbindir)/drbdsetup
+ rm -f $(DESTDIR)$(sbindir)/drbdmeta
+ rm -f $(DESTDIR)$(sbindir)/drbdadm
spell:
for f in drbdadm_adjust.c drbdadm_main.c drbdadm_parser.c drbdadm_usage_cnt.c drbdmeta.c drbdsetup.c drbdtool_common.c; do \
next reply other threads:[~2010-09-25 11:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-25 11:01 Deftunix [this message]
2010-10-05 19:19 ` [Drbd-dev] DRBD 8.3.7 user/Makefile.in patch Lars Ellenberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C9DD673.1060403@gmail.com \
--to=deftunix@gmail.com \
--cc=drbd-user@lists.linbit.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.