X-Git-Url: https://git.armaanb.net/?p=asd-repo.git;a=blobdiff_plain;f=core%2Fmutt%2Fbuild;h=4398e11c565fc72ae1adf1243ce138ab44df9bdd;hp=79a13217eadd8671cf7212676a7cb1f1b6533917;hb=fa39eea0e646092efc2c04817d41fa0e0872d387;hpb=24521c4b5258dac404f100b6789b5ff16ede68d9 diff --git a/core/mutt/build b/core/mutt/build index 79a1321..4398e11 100755 --- a/core/mutt/build +++ b/core/mutt/build @@ -1,13 +1,21 @@ #!/bin/sh -e +sed -i 's/doc //g' Makefile.in + ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --enable-smtp \ --with-ssl \ - --with-sasl + --with-sasl \ + --disable-doc make make DESTDIR="$1" install rm -f "$1/etc/mime.types" "$1/etc/Mutt*" + +for i in *.1 *.5; do + section="$(printf "$i" | cut -d '.' -f 3)" + install -Dm644 "$i" "$1/usr/share/man/man$section/$i" +done