X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=doc%2Fman-pages%2Finstall-man.in;h=a8f5bfd7cb38c5c09c0f6a7b069d1bf0357d0799;hp=cd4ab34224dcc15b79625449847a6fc53eb9bc0b;hb=83f0baef29fd4962f5cb8ac93fb332af87433a4a;hpb=5fde2994348d1c7f6239f98aac355011125b06ad diff --git a/doc/man-pages/install-man.in b/doc/man-pages/install-man.in index cd4ab34..a8f5bfd 100644 --- a/doc/man-pages/install-man.in +++ b/doc/man-pages/install-man.in @@ -10,12 +10,14 @@ set -e manpage="$1" dest="$2" -install=@TOP_OBJDIR@/src/pinstall/pinstall +INSTALL="@INSTALL@" +install="@INSTALL_DATA@" # We have to include all of the variables here since several of them refer to # each other and this is the only way we get them all expanded. prefix=@prefix@ exec_prefix=@exec_prefix@ +datarootdir=@datarootdir@ bindir=@bindir@ includedir=@includedir@ libdir=@libdir@ @@ -46,5 +48,5 @@ sed -e "s%/usr/afs/local/BosConfig%${afsbosconfigdir}/BosConfig%g" \ -e "s%/usr/afs/local%${afslocaldir}%g" \ -e "s%/usr/afs/logs%${afslogsdir}%g" \ -e "s%/usr/vice/etc%${viceetcdir}%g" "$manpage" > "$manpage".tmp -$install -c -f -m 0644 "$manpage".tmp "$dest" +$install "$manpage".tmp "$dest" rm "$manpage".tmp