diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..809f81e --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +NAME = bm +BIN = $(NAME).filter.dpi +DILLO_DIR = ~/.dillo +DPI_DIR = $(DILLO_DIR)/dpi/$(NAME) + +all: + @echo "Use 'make install' to install" + @echo "Use 'make uninstall' to uninstall" + +link: $(BIN) + mkdir -p $(DPI_DIR) + ln -frs $(BIN) $(DPI_DIR) + dpidc stop || true + +install: $(BIN) + mkdir -p $(DPI_DIR) + cp -f $(BIN) $(DPI_DIR) + dpidc stop || true + +uninstall: $(BIN) + rm -f $(DPI_DIR)/$(BIN) + +.PHONY: + all link install uninstall |