sbase

suckless unix tools
git clone git://git.suckless.org/sbase
Log | Files | Refs | README | LICENSE

commit ba2fc773f34789327c709ad865547e86eb3817d3
parent 893398754441b5f9d3435b99c3317acac4766e24
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Tue, 26 Sep 2023 19:45:46 +0200

build: Simplify dist target

We can get rid of the SRC variable if we use shell wildcards.

Diffstat:
MMakefile | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -183,7 +183,6 @@ BIN =\ yes OBJ = $(BIN:=.o) $(LIBUTFOBJ) $(LIBUTILOBJ) -SRC = $(BIN:=.c) MAN = $(BIN:=.1) all: $(BIN) @@ -227,7 +226,7 @@ uninstall: dist: clean mkdir -p sbase-$(VERSION) - cp -r LICENSE Makefile README TODO config.mk $(SRC) $(MAN) libutf libutil $(HDR) sbase-$(VERSION) + cp -r LICENSE Makefile README TODO config.mk *.c *.1 *.h libutf libutil sbase-$(VERSION) tar -cf sbase-$(VERSION).tar sbase-$(VERSION) gzip sbase-$(VERSION).tar rm -rf sbase-$(VERSION)