Tweak 'make uninstall' to nuke twexes & docs
This commit is contained in:
parent
db44ff8faf
commit
306b7a7a5f
|
@ -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
|
||||
|
|
11
Makefile.in
11
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:
|
||||
|
|
Loading…
Reference in New Issue