From 98f55d158f2244a0d378f360a146d732cedb399f Mon Sep 17 00:00:00 2001 From: Minto van der Sluis Date: Sat, 15 Sep 2007 20:16:14 +0200 Subject: [PATCH] Modified eggdrop to install documentation in .../doc/eggdrop --- network/eggdrop/eggdrop.conf | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/network/eggdrop/eggdrop.conf b/network/eggdrop/eggdrop.conf index faae430e8..e2967b0aa 100644 --- a/network/eggdrop/eggdrop.conf +++ b/network/eggdrop/eggdrop.conf @@ -12,4 +12,12 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -hook_add premake 5 "make config" +eggdrop_premake() { + # Make sure docs are installed in the correct location. + # --docdir is of no use :( + sed -i "s,/doc,/doc/$pkg,g" doc/Makefile + + make config +} + +hook_add premake 5 "eggdrop_premake"