~dricottone/mail-filters

ref: b1a1f1c45b92fbfdba87ad9babc58a9caa2b177b mail-filters/Makefile -rw-r--r-- 870 bytes
b1a1f1c4Dominic Ricottone Significant updates 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
SHARE_DIR?=/usr/local/share
INSTALL_DIR?=$(SHARE_DIR)/mail-filters

install:
	mkdir -m755 -p $(INSTALL_DIR)
	install -m755 src/ao3.awk $(INSTALL_DIR)/ao3.awk
	install -m755 src/debian.awk $(INSTALL_DIR)/debian.awk
	install -m755 src/fanfiction.awk $(INSTALL_DIR)/fanfiction.awk
	install -m755 src/freebsd.awk $(INSTALL_DIR)/freebsd.awk
	install -m755 src/googlegroups.awk $(INSTALL_DIR)/googlegroups.awk
	install -m755 src/html.sh $(INSTALL_DIR)/html.sh
	install -m755 src/mailman.sh $(INSTALL_DIR)/mailman.sh
	install -m755 src/open-in-browser.sh $(INSTALL_DIR)/open-in-browser.sh

uninstall:
	rm $(INSTALL_DIR)/ao3.awk
	rm $(INSTALL_DIR)/debian.awk
	rm $(INSTALL_DIR)/fanfiction.awk
	rm $(INSTALL_DIR)/freebsd.awk
	rm $(INSTALL_DIR)/googlegroups.awk
	rm $(INSTALL_DIR)/html.sh
	rm $(INSTALL_DIR)/mailman.sh
	rm $(INSTALL_DIR)/open-in-browser.sh
	rmdir $(INSTALL_DIR)