From 8955516c10703edb51620e8349b7100a43463def Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 21 Oct 2005 18:10:45 +0000 Subject: r11245: Hopefully fix heimdal build on some hosts Fix manpage locations (This used to be commit 33c71c0fb13b55741f1b1fffc8945ccda6f3bf51) --- source4/build/smb_build/makefile.pm | 2 +- source4/script/cflags.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source4') diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index 6f9615baa8..1759f8645d 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -191,7 +191,7 @@ sub _prepare_manpages($) my @mp_list = (); foreach (values %$ctx) { - push (@mp_list, $_->{MANPAGE}) if (defined($_->{MANPAGE}) and $_->{MANPAGE} ne ""); + push (@mp_list, "$_->{BASEDIR}/$_->{MANPAGE}") if (defined($_->{MANPAGE}) and $_->{MANPAGE} ne ""); } my $mp = array2oneperline(\@mp_list); diff --git a/source4/script/cflags.sh b/source4/script/cflags.sh index b2ee8b3761..dc7bd794c6 100755 --- a/source4/script/cflags.sh +++ b/source4/script/cflags.sh @@ -11,7 +11,7 @@ check_flags() NAME=$1 ( while read tag flags; do - if [ "$tag" = "$NAME" ]; then + if [ "$tag" = "$NAME" ] || [ "./$tag" = "$NAME" ]; then echo "$flags" exit 0; fi -- cgit