man-page-fileserver-update-20080311
[openafs.git] / doc / man-pages / install-man.in
index cd4ab34..a8f5bfd 100644 (file)
@@ -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