-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (29 loc) · 717 Bytes
/
Makefile
File metadata and controls
37 lines (29 loc) · 717 Bytes
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
26
27
28
29
30
31
32
33
34
35
36
37
# dmenium - small collection of scripts using dmenu
# See LICENSE file for copyright and license details.
# paths
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
EXE = dmenium
progs = browse \
calc \
dwm_mode \
man \
menu \
prog \
quit \
todo \
win \
all:
@echo $(EXE): to install run \'make install\' as root user
install: $(progs)
$(progs):
@echo -n installing $@ to $(DESTDIR)$(PREFIX)/bin ...
@mkdir -p $(DESTDIR)$(PREFIX)/bin
@cp -f $@ $(DESTDIR)$(PREFIX)/bin/dmenu_$@
@chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_$@
@echo \ done
uninstall:
@echo -n removing $@ from $(DESTDIR)$(PREFIX)/bin ...
@rm -f $(DESTDIR)$(PREFIX)/bin/dmenu_$@
@echo \ done
.PHONY: all install uninstall $(progs)