[Babel-users] Makefile Patch

Dominyk Tiller dominyktiller at gmail.com
Tue Jan 13 21:54:28 UTC 2015


Hey guys,

I think this patch has been lingering around for a while, so I don't
know if someone has forwarded it up to you before now. Apologies for the
double post, if so.

It's basically a patch to allow us to specify where the manpages are
placed. I don't know if there's anything you can do upstream to make
this a little easier, if you haven't already and folks just haven't
realised.

This is the patch used:

diff --git a/Makefile b/Makefile
index 7ad8b78..39c415c 100644
--- a/Makefile
+++ b/Makefile
@@ -38,12 +38,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)$(PREFIX)/share/man/man8
+	cp -f babeld.man $(TARGET)$(PREFIX)/share/man/man8/babeld.8

 uninstall:
 	-rm -f $(TARGET)$(PREFIX)/bin/babeld
-	-rm -f $(TARGET)$(PREFIX)/man/man8/babeld.8
+	-rm -f $(TARGET)$(PREFIX)/share/man/man8/babeld.8

 clean:
 	-rm -f babeld babeld.html *.o *~ core TAGS gmon.out

Cheers,

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



More information about the Babel-users mailing list