linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] wireless-regdb: Add install target to Makefile
@ 2008-12-26 22:42 Michael Buesch
  2008-12-27  6:42 ` Pavel Roskin
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Buesch @ 2008-12-26 22:42 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, Luis Rodriguez

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-12-27  9:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-26 22:42 [PATCH] wireless-regdb: Add install target to Makefile Michael Buesch
2008-12-27  6:42 ` Pavel Roskin
2008-12-27  9:19   ` Michael Buesch

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).