--- Makefile.am | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index e140e09..aa7c3cb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -489,7 +489,7 @@ nanocat_SOURCES = \ if NANOCAT bin_PROGRAMS += nanocat -endif NANOCAT +endif #NANOCAT ################################################################################ # RFCs # @@ -542,8 +542,25 @@ install-exec-hook: $(LN_S) -f nanocat nn_bus$(EXEEXT) && \ $(LN_S) -f nanocat nn_pair$(EXEEXT) -endif SYMLINKS -endif NANOCAT +uninstall-hook: + cd $(DESTDIR)$(bindir) && \ + rm -f nn_push$(EXEEXT) ; \ + rm -f nn_pull$(EXEEXT) ; \ + rm -f nn_pub$(EXEEXT) ; \ + rm -f nn_sub$(EXEEXT) ; \ + rm -f nn_req$(EXEEXT) ; \ + rm -f nn_rep$(EXEEXT) ; \ + rm -f nn_surveyor$(EXEEXT) ; \ + rm -f nn_respondent$(EXEEXT) ; \ + rm -f nn_bus$(EXEEXT) ; \ + rm -f nn_pair$(EXEEXT) + cd $(DESTDIR)$(libdir) && \ + rm -f libnanomsg.* + cd $(DESTDIR)$(includedir) && \ + rm -rf nanomsg + +endif #SYMLINKS +endif #NANOCAT EXTRA_DIST += \ -- 1.9.3 --=-EO4FVepgQKKccETcbB11 Content-Disposition: attachment; filename="0003-Added-socket-s-life-cycle-stress-test.patch" Content-Type: text/x-patch; name="0003-Added-socket-s-life-cycle-stress-test.patch"; charset="UTF-7" Content-Transfer-Encoding: 7bit