Introduction
Introduction Statistics Contact Development Disclaimer Help
Add make dist - scroll - scrollbackbuffer program for st
git clone git://git.suckless.org/scroll
Log
Files
Refs
README
LICENSE
---
commit 2607a5b064c08f659e08043ec647eb0ff303e07b
parent 91875cfafd2591e760929b06572090be83297ab7
Author: Jochen Sprickerhof <[email protected]>
Date: Thu, 16 Apr 2020 21:21:21 +0200
Add make dist
Diffstat:
M Makefile | 8 ++++++++
M config.mk | 3 +++
2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/Makefile b/Makefile
@@ -27,6 +27,14 @@ clean:
distclean: clean
rm -f config.h
+dist: clean
+ mkdir -p scroll-$(VERSION)
+ cp -R README scroll.1 TODO Makefile config.mk config.def.h \
+ ptty.c scroll.c \
+ scroll-$(VERSION)
+ tar -cf - scroll-$(VERSION) | gzip > scroll-$(VERSION).tar.gz
+ rm -rf scroll-$(VERSION)
+
.c:
$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $< -lutil
diff --git a/config.mk b/config.mk
@@ -1,3 +1,6 @@
+# scroll version
+VERSION = 0.1
+
# paths
PREFIX = /usr/local
BINDIR = $(PREFIX)/bin
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.