Files: db27d78788c79045c2250b824da6224adf277b6b / Makefile
510 bytesRaw
1 | NAME = history |
2 | BIN = history.filter.dpi |
3 | DILLO_DIR = ~/.dillo |
4 | DPI_DIR = $(DILLO_DIR)/dpi |
5 | DPIDRC = $(DILLO_DIR)/dpidrc |
6 | |
7 | all: $(BIN) |
8 | |
9 | $(DPIDRC): |
10 | cp /etc/dillo/dpidrc $@ |
11 | |
12 | install-proto: $(DPIDRC) |
13 | echo 'proto.history=$(NAME)/$(BIN)' >> $< |
14 | |
15 | install: $(BIN) install-proto |
16 | mkdir -p $(DPI_DIR)/$(NAME) |
17 | cp -f $(BIN) $(DPI_DIR)/$(NAME) |
18 | |
19 | link: $(BIN) install-proto |
20 | mkdir -p $(DPI_DIR)/$(NAME) |
21 | ln -frs $(BIN) $(DPI_DIR)/$(NAME) |
22 | |
23 | uninstall: $(BIN) |
24 | rm -f $(DPI_DIR)/$(NAME)/$(BIN) |
25 | |
26 | .PHONY: |
27 | all install link uninstall |
28 |
Built with git-ssb-web