fixed %install_info/%uninstall_info

This commit is contained in:
Дмитрий Левин 2002-09-05 11:03:54 +00:00
parent 9961361c82
commit fff05a7cbc

View File

@ -246,7 +246,7 @@
@alt@ @alt@
@alt@%install_info() \ @alt@%install_info() \
@alt@for f in %*; do \ @alt@for f in %*; do \
@alt@ if [ "$f" = "${f%/*}" ]; then \ @alt@ if [ "$f" = "${f##*/}" ]; then \
@alt@ f="%_infodir/$f" \ @alt@ f="%_infodir/$f" \
@alt@ fi \ @alt@ fi \
@alt@ %__install_info --dir-file="${f%/*}/dir" --info-file="$f" \ @alt@ %__install_info --dir-file="${f%/*}/dir" --info-file="$f" \
@ -256,7 +256,7 @@
@alt@%uninstall_info() \ @alt@%uninstall_info() \
@alt@if [ $1 = 0 ]; then \ @alt@if [ $1 = 0 ]; then \
@alt@ for f in %*; do \ @alt@ for f in %*; do \
@alt@ if [ "$f" = "${f%/*}" ]; then \ @alt@ if [ "$f" = "${f##*/}" ]; then \
@alt@ f="%_infodir/$f" \ @alt@ f="%_infodir/$f" \
@alt@ fi \ @alt@ fi \
@alt@ %__install_info --delete --dir-file="${f%/*}/dir" --info-file="$f" \ @alt@ %__install_info --delete --dir-file="${f%/*}/dir" --info-file="$f" \