From: Michael Buesch <mb@bu3sch.de>
To: linville@tuxdriver.com
Cc: linux-wireless@vger.kernel.org, Luis Rodriguez <mcgrof@gmail.com>
Subject: [PATCH] wireless-regdb: Add install target to Makefile
Date: Fri, 26 Dec 2008 23:42:57 +0100 [thread overview]
Message-ID: <200812262342.57675.mb@bu3sch.de> (raw)
This adds an "install" target to the Makefile.
We intentionally don't make install depend on "all" or another build
target, to avoid an undesired rebuild.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Index: wireless-regdb/Makefile
===================================================================
--- wireless-regdb.orig/Makefile 2008-12-26 23:33:19.000000000 +0100
+++ wireless-regdb/Makefile 2008-12-26 23:38:54.000000000 +0100
@@ -1,4 +1,7 @@
-.PHONY: all clean
+# Install prefix
+PREFIX = /usr
+
+.PHONY: all clean install
all: regulatory.bin key.pub.pem
@@ -13,3 +16,6 @@
key.priv.pem:
openssl genrsa -out key.priv.pem 2048
+
+install:
+ -install -o 0 -g 0 -m 644 regulatory.bin $(PREFIX)/lib/crda/regulatory.bin
--
Greetings, Michael.
next reply other threads:[~2008-12-26 22:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-26 22:42 Michael Buesch [this message]
2008-12-27 6:42 ` [PATCH] wireless-regdb: Add install target to Makefile Pavel Roskin
2008-12-27 9:19 ` Michael Buesch
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=200812262342.57675.mb@bu3sch.de \
--to=mb@bu3sch.de \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=mcgrof@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).