summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-10-21 18:10:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:06 -0500
commit8955516c10703edb51620e8349b7100a43463def (patch)
treefd81322c6fb1e1b68332baba212d8aa34078aba1
parent4c5a4a7e0288e9ac0b2f795befd5684059e4c429 (diff)
downloadsamba-8955516c10703edb51620e8349b7100a43463def.tar.gz
samba-8955516c10703edb51620e8349b7100a43463def.tar.bz2
samba-8955516c10703edb51620e8349b7100a43463def.zip
r11245: Hopefully fix heimdal build on some hosts
Fix manpage locations (This used to be commit 33c71c0fb13b55741f1b1fffc8945ccda6f3bf51)
-rw-r--r--source4/build/smb_build/makefile.pm2
-rwxr-xr-xsource4/script/cflags.sh2
2 files changed, 2 insertions, 2 deletions
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