diff options
| author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2014-12-08 02:13:34 +0300 |
|---|---|---|
| committer | Brent Cook <bcook@openbsd.org> | 2014-12-07 18:07:53 -0600 |
| commit | afcd515b99a4f9e61f48e92ed93710c45028a06c (patch) | |
| tree | 015ef044530665777c65a19e053c5926357d9240 | |
| parent | 9d70cdc60dbebccd92e073035dca5d27615569c8 (diff) | |
| download | portable-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>
| -rwxr-xr-x | update.sh | 12 |
1 files changed, 12 insertions, 0 deletions
| @@ -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 | ) |
