sbase

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

commit 9ae6c45097e48de66219366f1c55bc4eb01adc7f
parent 01b5105e0c7439a358d095fe4703e88c31095178
Author: Michael Forney <mforney@mforney.org>
Date:   Thu, 13 Jun 2019 13:52:52 -0700

Add .gitignore

Also, add rule to regenerate in case executable list changes.

Diffstat:
A.gitignore | 99+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
MMakefile | 5++++-
2 files changed, 103 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore @@ -0,0 +1,99 @@ +*.o +/getconf.h +/libutf.a +/libutil.a +/basename +/cal +/cat +/chgrp +/chmod +/chown +/chroot +/cksum +/cmp +/cols +/comm +/cp +/cron +/cut +/date +/dirname +/du +/echo +/ed +/env +/expand +/expr +/false +/find +/flock +/fold +/getconf +/grep +/head +/hostname +/join +/kill +/link +/ln +/logger +/logname +/ls +/md5sum +/mkdir +/mkfifo +/mktemp +/mv +/nice +/nl +/nohup +/od +/paste +/pathchk +/printenv +/printf +/pwd +/readlink +/renice +/rev +/rm +/rmdir +/sed +/seq +/setsid +/sha1sum +/sha224sum +/sha256sum +/sha384sum +/sha512sum +/sha512-224sum +/sha512-256sum +/sleep +/sort +/split +/sponge +/strings +/sync +/tail +/tar +/tee +/test +/tftp +/time +/touch +/tr +/true +/tsort +/tty +/uname +/unexpand +/uniq +/unlink +/uudecode +/uuencode +/wc +/which +/whoami +/xargs +/xinstall +/yes diff --git a/Makefile b/Makefile @@ -274,4 +274,7 @@ clean: rm -f $(BIN) $(OBJ) $(LIB) sbase-box sbase-$(VERSION).tar.gz rm -f getconf.h -.PHONY: all install uninstall dist sbase-box sbase-box-install sbase-box-uninstall clean +.gitignore: + { printf '*.o\n' ; printf '/%s\n' getconf.h $(LIB) $(BIN) ; } > $@ + +.PHONY: all install uninstall dist sbase-box sbase-box-install sbase-box-uninstall clean .gitignore