Created
September 16, 2019 07:45
-
-
Save saidone75/c084722cda9a14fd0ed13b087f65ac97 to your computer and use it in GitHub Desktop.
Install locally, strip, no manual
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Makefile b/Makefile | |
index 470ac86..c3de58d 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -42,11 +42,12 @@ dist: clean | |
install: st | |
mkdir -p $(DESTDIR)$(PREFIX)/bin | |
+ strip st | |
cp -f st $(DESTDIR)$(PREFIX)/bin | |
chmod 755 $(DESTDIR)$(PREFIX)/bin/st | |
- mkdir -p $(DESTDIR)$(MANPREFIX)/man1 | |
- sed "s/VERSION/$(VERSION)/g" < st.1 > $(DESTDIR)$(MANPREFIX)/man1/st.1 | |
- chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1 | |
+# mkdir -p $(DESTDIR)$(MANPREFIX)/man1 | |
+# sed "s/VERSION/$(VERSION)/g" < st.1 > $(DESTDIR)$(MANPREFIX)/man1/st.1 | |
+# chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1 | |
tic -sx st.info | |
@echo Please see the README file regarding the terminfo entry of st. | |
diff --git a/config.mk b/config.mk | |
index 0cbb002..14ff7b3 100644 | |
--- a/config.mk | |
+++ b/config.mk | |
@@ -4,7 +4,7 @@ VERSION = 0.8.2 | |
# Customize below to fit your system | |
# paths | |
-PREFIX = /usr/local | |
+PREFIX = ~ | |
MANPREFIX = $(PREFIX)/share/man | |
X11INC = /usr/X11R6/include |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment