aboutsummaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2014-12-08 02:13:34 +0300
committerBrent Cook <bcook@openbsd.org>2014-12-07 18:07:53 -0600
commitafcd515b99a4f9e61f48e92ed93710c45028a06c (patch)
tree015ef044530665777c65a19e053c5926357d9240 /update.sh
parent9d70cdc60dbebccd92e073035dca5d27615569c8 (diff)
downloadportable-afcd515b99a4f9e61f48e92ed93710c45028a06c.tar.gz
portable-afcd515b99a4f9e61f48e92ed93710c45028a06c.tar.bz2
portable-afcd515b99a4f9e61f48e92ed93710c45028a06c.zip
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>
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/update.sh b/update.sh
index 9c49ad5..f16afac 100755
--- a/update.sh
+++ b/update.sh
@@ -309,4 +309,16 @@ echo "copying manpages"
309 echo " \$(DESTDIR)\$(mandir)/man3/$2" >> Makefile.am 309 echo " \$(DESTDIR)\$(mandir)/man3/$2" >> Makefile.am
310 done 310 done
311 echo "endif" >> Makefile.am 311 echo "endif" >> Makefile.am
312 echo "" >> Makefile.am
313 echo "uninstall-local:" >> Makefile.am
314 for i in $SSL_MLINKS; do
315 IFS=","; set $i; unset IFS
316 echo " -rm -f \$(DESTDIR)\$(mandir)/man3/$2" >> Makefile.am
317 done
318 echo "if ENABLE_LIBTLS" >> Makefile.am
319 for i in $TLS_MLINKS; do
320 IFS=","; set $i; unset IFS
321 echo " rm -f \$(DESTDIR)\$(mandir)/man3/$2" >> Makefile.am
322 done
323 echo "endif" >> Makefile.am
312) 324)