update.sh: remove linked manpages on uninstall
Add additional code to remove linked manpages on uninstall. Since we do linking manually, automake will not remove them for us. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
This commit is contained in:
parent
9d70cdc60d
commit
afcd515b99
12
update.sh
12
update.sh
@ -309,4 +309,16 @@ echo "copying manpages"
|
|||||||
echo " \$(DESTDIR)\$(mandir)/man3/$2" >> Makefile.am
|
echo " \$(DESTDIR)\$(mandir)/man3/$2" >> Makefile.am
|
||||||
done
|
done
|
||||||
echo "endif" >> Makefile.am
|
echo "endif" >> Makefile.am
|
||||||
|
echo "" >> Makefile.am
|
||||||
|
echo "uninstall-local:" >> Makefile.am
|
||||||
|
for i in $SSL_MLINKS; do
|
||||||
|
IFS=","; set $i; unset IFS
|
||||||
|
echo " -rm -f \$(DESTDIR)\$(mandir)/man3/$2" >> Makefile.am
|
||||||
|
done
|
||||||
|
echo "if ENABLE_LIBTLS" >> Makefile.am
|
||||||
|
for i in $TLS_MLINKS; do
|
||||||
|
IFS=","; set $i; unset IFS
|
||||||
|
echo " rm -f \$(DESTDIR)\$(mandir)/man3/$2" >> Makefile.am
|
||||||
|
done
|
||||||
|
echo "endif" >> Makefile.am
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user