blob: 11d94bf9299b67e9199d5898dacb7a68730d20fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- Makefile.orig 2017-11-25 13:46:52 UTC
+++ Makefile
@@ -1,11 +1,12 @@
-PKGNAME = mons
-PKGDESC = POSIX Shell script to quickly manage 2-monitors display.
+PKGNAME = mons
+PKGDESC = POSIX Shell script to quickly manage 2-monitors display.
-LICENSEDIR = $(DESTDIR)/usr/share/licenses/$(PKGNAME)
-MANDIR = $(DESTDIR)/usr/share/man/man1
-BINDIR = $(DESTDIR)/usr/bin
-LIBDIR = $(DESTDIR)/usr/lib/libshlist
-LIB = libshlist/liblist.sh
+PREFIX = /usr
+LICENSEDIR = $(DESTDIR)$(PREFIX)/share/licenses/$(PKGNAME)
+MANDIR = $(DESTDIR)$(PREFIX)/share/man/man1
+BINDIR = $(DESTDIR)$(PREFIX)/bin
+LIBDIR = $(DESTDIR)$(PREFIX)/lib/libshlist
+LIB = libshlist/liblist.sh
install:
@if ! [ -r "$(LIB)" ]; then \
|