additions
This commit is contained in:
23
Makefile
Normal file
23
Makefile
Normal file
@@ -0,0 +1,23 @@
|
||||
# edocker - docker (compose) edit
|
||||
# See LICENSE file for copyright and license details.
|
||||
|
||||
# paths
|
||||
PREFIX = /home/${USER}/.local
|
||||
MANPREFIX = $(PREFIX)/share/man
|
||||
SHELL = bash
|
||||
|
||||
SRC = drw.c dmenu.c stest.c util.c
|
||||
OBJ = $(SRC:.c=.o)
|
||||
|
||||
all: install
|
||||
|
||||
install:
|
||||
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
||||
cp edocker $(PREFIX)/bin
|
||||
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
|
||||
cp edocker.1 $(DESTDIR)$(MANPREFIX)/man1
|
||||
|
||||
|
||||
uninstall:
|
||||
rm -f $(DESTDIR)$(PREFIX)/bin/edocker
|
||||
rm -f $(DESTDIR)$(MANPREFIX)/man1/edocker.1
|
Reference in New Issue
Block a user