add make install

Message ID 4EC0EF83.2060602@fisher-privat.net (mailing list archive)
State Accepted, archived
Headers

Commit Message

Alexey Fisher Nov. 14, 2011, 10:37 a.m. UTC
  On 14.11.2011 11:29, Sven Eckelmann wrote:
> On Monday 14 November 2011 11:19:19 Alexey Fisher wrote:
> [...]
>> Thank you,
>> so you will send your patch? I prefer last version, to make testing easier.
> 
> I personally don't care. Feel free to fix your patch and send a new version 
> (but think about adding the ":" after "install" -- the character magically 
> disappeared when I wrote the mail).
> 
> And don't forget the documentation part as it is always hard to remember 
> everything on the day the release is made, but easy when you just made the 
> patch. :)

Corrected.
  

Comments

Marek Lindner Nov. 22, 2011, 9:45 a.m. UTC | #1
On Monday, November 14, 2011 18:37:55 Alexey Fisher wrote:
> On 14.11.2011 11:29, Sven Eckelmann wrote:
> > On Monday 14 November 2011 11:19:19 Alexey Fisher wrote:
> > [...]
> > 
> >> Thank you,
> >> so you will send your patch? I prefer last version, to make testing
> >> easier.
> >
> > 
> >
> > I personally don't care. Feel free to fix your patch and send a new
> > version  (but think about adding the ":" after "install" -- the
> > character magically disappeared when I wrote the mail).
> >
> > 
> >
> > And don't forget the documentation part as it is always hard to remember 
> > everything on the day the release is made, but easy when you just made
> > the  patch. :)
> 
> Corrected.

Applied in revision 44a335d.

Next time, please send the patch inline again and add the branch name (batman-
adv in this case).

Thanks,
Marek
  

Patch

From 04e5cfa522d79a2a8764ee7ce04f8d0842ee37be Mon Sep 17 00:00:00 2001
From: Alexey Fisher <bug-track@fisher-privat.net>
Date: Mon, 14 Nov 2011 11:35:13 +0100
Subject: [PATCH] add "make install" option

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
---
 Makefile |    3 +++
 README   |    4 ++++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 5762721..3374687 100644
--- a/Makefile
+++ b/Makefile
@@ -42,3 +42,6 @@  all:
 
 clean:
 	$(MAKE) -C $(KERNELPATH) M=$(PWD) PWD=$(PWD) clean
+
+install:
+	$(MAKE) -C $(KERNELPATH) M=$(PWD) PWD=$(PWD) INSTALL_MOD_DIR=kernel/net/batman-adv/ modules_install
diff --git a/README b/README
index 5ba56b5..ec85dff 100644
--- a/README
+++ b/README
@@ -34,6 +34,10 @@  if you want to compile against some other kernel, use:
 
 # make KERNELPATH=/path/to/kernel
 
+if you wont to install this module:
+
+# sudo make install
+
 
 CONFIGURATION
 -------------
-- 
1.7.5.4