Add CONFDIR variable
This commit is contained in:
parent
cc78389342
commit
d103ee1511
1 changed files with 3 additions and 2 deletions
5
Makefile
5
Makefile
|
|
@ -1,12 +1,13 @@
|
|||
PREFIX ?= /usr
|
||||
CONFDIR ?= /etc
|
||||
|
||||
all:
|
||||
@echo Run \'make install\' to install mca
|
||||
|
||||
install:
|
||||
@install -m 0755 mca.sh -D $(DESTDIR)$(PREFIX)/bin/mca
|
||||
@install -m 0644 screenrc -Dt $(DESTDIR)/etc/mca
|
||||
@install -m 0644 screenrc -Dt $(DESTDIR)$(CONFDIR)/mca
|
||||
|
||||
uninstall:
|
||||
@rm -rf $(DESTDIR)/etc/mca
|
||||
@rm -rf $(DESTDIR)$(CONFDIR)/mca
|
||||
@rm -f $(DESTDIR)$(PREFIX)/bin/mca
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue