sbase

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

commit 864be9b1c744e22df9e127d005d0443bd3e1e4f3
parent 210137fba4cfbc65cd88547a996fb076d138c56f
Author: Connor Lane Smith <cls@lubutu.com>
Date:   Fri, 27 May 2011 01:20:03 +0100

fix dist
Diffstat:
MMakefile | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,7 +1,9 @@ include config.mk +HDR = text.h util.h LIB = util/afgets.o util/agetcwd.o util/concat.o util/enmasse.o util/eprintf.o \ util/recurse.o + SRC = basename.c cat.c chown.c date.c dirname.c echo.c false.c grep.c head.c \ ln.c ls.c mkdir.c mkfifo.c pwd.c rm.c sleep.c tail.c tee.c touch.c \ true.c wc.c @@ -13,7 +15,7 @@ all: $(BIN) $(OBJ): util.h $(BIN): util.a -grep.o: text.h +cat.o grep.o tail.o: text.h .o: @echo CC -o $@ @@ -30,7 +32,7 @@ util.a: $(LIB) dist: clean @echo creating dist tarball @mkdir -p sbase-$(VERSION) - @cp LICENSE Makefile config.mk $(SRC) $(MAN) util.c util.h sbase-$(VERSION) + @cp -r LICENSE Makefile config.mk $(SRC) $(MAN) util $(HDR) sbase-$(VERSION) @tar -cf sbase-$(VERSION).tar sbase-$(VERSION) @gzip sbase-$(VERSION).tar @rm -rf sbase-$(VERSION)