Introduction
Introduction Statistics Contact Development Disclaimer Help
Use DESTDIR in the Makefile. - scroll - scrollbackbuffer program for st
git clone git://git.suckless.org/scroll
Log
Files
Refs
README
LICENSE
---
commit e59f60dbcc68c453d450e12b678b6ae9455aa293
parent 1dfa7e759525944d50614caf96ce0acf8b52abeb
Author: parazyd <[email protected]>
Date: Mon, 4 May 2020 00:26:15 +0200
Use DESTDIR in the Makefile.
It is common convention to have this.
Diffstat:
M Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/Makefile b/Makefile
@@ -10,9 +10,9 @@ config.h:
scroll: scroll.c config.h
install: scroll
- mkdir -p $(BINDIR) $(MANDIR)/man1
- cp -f scroll $(BINDIR)
- cp -f scroll.1 $(MANDIR)/man1
+ mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1
+ cp -f scroll $(DESTDIR)$(BINDIR)
+ cp -f scroll.1 $(DESTDIR)$(MANDIR)/man1
test: scroll ptty
# check usage
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.