diff options
author | drkhsh <me@drkhsh.at> | 2023-05-15 19:11:39 +0200 |
---|---|---|
committer | drkhsh <me@drkhsh.at> | 2023-05-15 19:11:39 +0200 |
commit | 0e806934234ea85c745e5af6c3c6c220d0076774 (patch) | |
tree | c128dba2a33e9afe0e6bca94acee3d2a589317a7 | |
parent | 4087652c8d94757737ce1393f3a3a63255f6980d (diff) |
Fix release tarball to prepare for release
Correctly copies components to sub-directory, adds all required files
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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}.tar.gz 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.gz" rm -rf "slstatus-$(VERSION)" |