| 1 | Description: adds uninstall target to Makefile |
| 2 | Author: Scott Howard <[email protected]> |
| 3 | Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646069 |
| 4 | Index: rxtx/Makefile.am |
| 5 | =================================================================== |
| 6 | --- rxtx.orig/Makefile.am 2011-10-31 02:43:21.532963961 -0400 |
| 7 | +++ rxtx/Makefile.am 2011-10-31 02:46:03.348967808 -0400 |
| 8 | @@ -129,6 +129,10 @@ |
| 9 | done` $(RXTX_PATH) |
| 10 | $(INSTALL_PROGRAM) $(JARTARGET) $(JHOME)/ |
| 11 | |
| 12 | +uninstall: |
| 13 | + cd $(RXTX_PATH) && $(RM) librxtx* |
| 14 | + $(RM) $(JHOME)/$(JARTARGET) |
| 15 | + |
| 16 | clean-generic: |
| 17 | rm -rf $(DEST) $(TOP)/$(CLASSTOP) |
| 18 | -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) |