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
|
From: James Valleroy <[email protected]>
Date: Thu, 15 Dec 2022 07:31:48 -0500
Subject: Debianize install
Forwarded: not-needed
---
Makefile | 8 -------
1 file changed, 1 insertion( ), 7 deletions(-)
diff --git a/Makefile b/Makefile
index 6cfa070..50dde56 100644
--- a/Makefile
b/Makefile
@@ -1,4 1,4 @@
-PREFIX=/usr/local
PREFIX=$(DESTDIR)/usr
PREFIX_MAN=$(PREFIX)/man
CFLAGS?=-g -Wall -Wextra -pedantic
@@ -20,12 20,6 @@ dep:
install:
mkdir -p -m 755 $(PREFIX)/bin
install -m 755 snac $(PREFIX)/bin/snac
- mkdir -p -m 755 $(PREFIX_MAN)/man1
- install -m 644 doc/snac.1 $(PREFIX_MAN)/man1/snac.1
- mkdir -p -m 755 $(PREFIX_MAN)/man5
- install -m 644 doc/snac.5 $(PREFIX_MAN)/man5/snac.5
- mkdir -p -m 755 $(PREFIX_MAN)/man8
- install -m 644 doc/snac.8 $(PREFIX_MAN)/man8/snac.8
uninstall:
rm $(PREFIX)/bin/snac
|