Don't try to install shared libpico unless it was generated.

Clean up Packing list and remove share/doc/pine on uninstall
This commit is contained in:
marc 1998-02-19 06:59:26 +00:00
parent 84f92a869a
commit 5e67da2ce4
2 changed files with 8 additions and 4 deletions

View File

@ -1,8 +1,13 @@
all:
./build bsf
install:
install -c -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} bin/libpico.so.1.3 ${PREFIX}/lib/libpico.so.1.3
/sbin/ldconfig -m ${PREFIX}/lib
if [ -s bin/libpico.so.1.3 ]; then \
install -c -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
bin/libpico.so.1.3 ${PREFIX}/lib/libpico.so.1.3; \
/sbin/ldconfig -m ${PREFIX}/lib; \
else \
true; \
fi
install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} bin/pico ${PREFIX}/bin/pico
install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} bin/pilot ${PREFIX}/bin/pilot
install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} bin/pine ${PREFIX}/bin/pine

View File

@ -1,8 +1,6 @@
bin/pico
bin/pilot
bin/pine
lib/libpico.so.1.3
@exec /sbin/ldconfig -m %B
bin/pgpencrypt
bin/pgpdecode
bin/pgpsign
@ -11,3 +9,4 @@ man/man1/pico.1
man/man1/pilot.1
man/man1/pine.1
share/doc/pine/tech-notes.txt
@dirrm share/doc/pine