Amanda-Users

install man pages in 2.5.1p1 fails

2006-02-03 11:58:48
Subject: install man pages in 2.5.1p1 fails
From: Anthony Worrall <anthony.worrall AT reading.ac DOT uk>
To: amanda-users AT amanda DOT org
Date: Fri, 03 Feb 2006 16:54:48 +0000
Hi

Just a small point but when I installed 2.5.1p1 the install-data-hook
failed
on amanda.conf.5 because it assumed that all the man pages where in
section 8.


original 

    install-data-hook:
        @list="$(man_MANS)"; \
        for p in $$list; do \
                pa=$(DESTDIR)$(mandir)/man8/`echo $$p|sed
'$(transform)'`;
                echo chown $(BINARY_OWNER) $$pa; \
                chown $(BINARY_OWNER) $$pa; \
                echo chgrp $(SETUID_GROUP) $$pa; \
                chgrp $(SETUID_GROUP) $$pa; \
        done

fixed

    install-data-hook:
        @list="$(man_MANS)"; \
        for p in $$list; do \
                ext=`echo $$p | sed -e 's/^.*\\.//'`; \
                pa=$(DESTDIR)$(mandir)/man$$ext/`echo $$p|sed
'$(transform)'`; \
                echo chown $(BINARY_OWNER) $$pa; \
                chown $(BINARY_OWNER) $$pa; \
                echo chgrp $(SETUID_GROUP) $$pa; \
                chgrp $(SETUID_GROUP) $$pa; \
        done

apologies if this has already been fixed

Cheers

Anthony Worrall


<Prev in Thread] Current Thread [Next in Thread>