blob: e63630a59a18890c48992fc8c340687a3c112b12 (
plain)
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
|
--- Makefile.orig 2017-11-25 13:46:52 UTC
+++ Makefile
@@ -1,10 +1,9 @@
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
+MANDIR = $(DESTDIR)$(PREFIX)/man/man1
+BINDIR = $(DESTDIR)$(PREFIX)/bin
+LIBDIR = $(DESTDIR)$(PREFIX)/lib/libshlist
LIB = libshlist/liblist.sh
install:
@@ -18,15 +17,12 @@ install:
exit 1; \
fi
mkdir -p $(MANDIR)
- mkdir -p $(LICENSEDIR)
mkdir -p $(LIBDIR)
mkdir -p $(BINDIR)
chmod 644 $(PKGNAME).1.gz
- chmod 644 LICENSE
chmod 644 $(LIB)
chmod 755 mons
cp $(PKGNAME).1.gz $(MANDIR)/$(PKGNAME).1.gz
- cp LICENSE $(LICENSEDIR)/LICENSE
cp $(LIB) $(LIBDIR)/liblist.sh
cp mons $(BINDIR)/mons
|