diff --git a/Makefile.am b/Makefile.am index e0446a1..871e373 100644 --- a/Makefile.am +++ b/Makefile.am @@ -7,3 +7,7 @@ install-data-hook: prefix="$(prefix)" sysconfdir="$(sysconfdir)" \ path_to_vi="$(path_to_vi)" path_to_sendmail="$(path_to_sendmail)" \ ./installer/install.sh + +uninstall-hook: + rm -f ${prefix}/sbin/tripwire $(prefix)/sbin/twadmin $(prefix)/sbin/twprint $(prefix)/sbin/siggen + rm -Rf $(prefix)/doc diff --git a/Makefile.in b/Makefile.in index f9e3f25..5c041f2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -774,9 +774,10 @@ ps: ps-recursive ps-am: uninstall-am: - + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) uninstall-hook .MAKE: $(am__recursive_targets) all install-am install-data-am \ - install-strip + install-strip uninstall-am .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ am--refresh check check-am clean clean-cscope clean-generic \ @@ -792,7 +793,7 @@ uninstall-am: install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \ - tags-am uninstall uninstall-am + tags-am uninstall uninstall-am uninstall-hook .PRECIOUS: Makefile @@ -803,6 +804,10 @@ install-data-hook: path_to_vi="$(path_to_vi)" path_to_sendmail="$(path_to_sendmail)" \ ./installer/install.sh +uninstall-hook: + rm -f ${prefix}/sbin/tripwire $(prefix)/sbin/twadmin $(prefix)/sbin/twprint $(prefix)/sbin/siggen + rm -Rf $(prefix)/doc + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: