[Babel-users] Makefile Patch

Dominyk Tiller dominyktiller at gmail.com
Sun Feb 1 01:28:53 UTC 2015


Please find a diff attached.

Dom

Sent from OS X. If you wish to communicate more securely my PGP Public
Key is 0x872524db9d74326c.

On 31/01/2015 02:21, Juliusz Chroboczek wrote:
>> This sounds like the best long-term solution if upstream are content
>> with the idea,
> 
> Patch?  (No opinion yet, but a patch is something you can discuss.)
> 
> I really don't care much -- the two main downstreams are Debian and
> OpenWRT, and both have competent maintainers who'll work around anything
> stupid I do in the makefile.  Still, I'm happy to make downstream's life
> easier.
> 
> -- Juliusz
> 
-------------- next part --------------
>From aa1847c154d65aa324636028ed2a85417c133cd1 Mon Sep 17 00:00:00 2001
From: Dominyk Tiller <dominyktiller at gmail.com>
Date: Sun, 1 Feb 2015 01:18:53 +0000
Subject: [PATCH] patch

---
 Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 7ad8b78..5702164 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
 PREFIX = /usr/local
+MANDIR = /usr/local/share/man
 
 CDEBUGFLAGS = -Os -g -Wall
 
@@ -38,12 +39,12 @@ install.minimal: babeld
 	cp -f babeld $(TARGET)$(PREFIX)/bin
 
 install: install.minimal all
-	mkdir -p $(TARGET)$(PREFIX)/man/man8
-	cp -f babeld.man $(TARGET)$(PREFIX)/man/man8/babeld.8
+	mkdir -p $(TARGET)$(MANDIR)/man8
+	cp -f babeld.man $(TARGET)$(MANDIR)/man8/babeld.8
 
 uninstall:
 	-rm -f $(TARGET)$(PREFIX)/bin/babeld
-	-rm -f $(TARGET)$(PREFIX)/man/man8/babeld.8
+	-rm -f $(TARGET)$(MANDIR)/man8/babeld.8
 
 clean:
 	-rm -f babeld babeld.html *.o *~ core TAGS gmon.out




More information about the Babel-users mailing list