@ -1,3 +1,5 @@
SRC:= emacs-cleaner.go
INSTALL_DIR:= /usr/local/bin
all: clean emacs-cleaner
@ -5,5 +7,11 @@ clean:
rm -f emacs-cleaner
emacs-cleaner:
go build emacs-cleaner.go
go build $(SRC)
strip $@
install:
cp -f emacs-cleaner $(INSTALL_DIR)/emacs-cleaner
uninstall:
rm -f $(INSTALL_DIR)/emacs-cleaner