| Fix release tarball to prepare for release - slstatus - status monitor | |
| git clone git://git.suckless.org/slstatus | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| commit 483169021ba996f59a97b4e3b74cee7e43d6ab6f | |
| parent e0c155e9ab8e8e0cf0ae09dc8cd0a02a460628cf | |
| Author: drkhsh <[email protected]> | |
| Date: Mon, 15 May 2023 19:11:39 +0200 | |
| Fix release tarball to prepare for release | |
| Correctly copies components to sub-directory, adds all required files | |
| Diffstat: | |
| M Makefile | 5 +++-- | |
| 1 file changed, 3 insertions(+), 2 deletions(-) | |
| --- | |
| diff --git a/Makefile b/Makefile | |
| @@ -44,14 +44,15 @@ slstatus: slstatus.o $(COM:=.o) $(REQ:=.o) | |
| $(CC) -o $@ $(LDFLAGS) $(COM:=.o) $(REQ:=.o) slstatus.o $(LDLIBS) | |
| clean: | |
| - rm -f slstatus slstatus.o $(COM:=.o) $(REQ:=.o) | |
| + rm -f slstatus slstatus.o $(COM:=.o) $(REQ:=.o) slstatus-${VERSION}.ta… | |
| dist: | |
| rm -rf "slstatus-$(VERSION)" | |
| mkdir -p "slstatus-$(VERSION)/components" | |
| cp -R LICENSE Makefile README config.mk config.def.h \ | |
| - arg.h slstatus.c $(COM:=.c) $(REQ:=.c) $(REQ:=.h) \ | |
| + arg.h slstatus.h slstatus.c $(REQ:=.c) $(REQ:=.h) \ | |
| slstatus.1 "slstatus-$(VERSION)" | |
| + cp -R $(COM:=.c) "slstatus-$(VERSION)/components" | |
| tar -cf - "slstatus-$(VERSION)" | gzip -c > "slstatus-$(VERSION).tar.g… | |
| rm -rf "slstatus-$(VERSION)" | |