Add .gitignore

Also, add rule to regenerate in case executable list changes.
This commit is contained in:
Michael Forney 2019-06-13 13:52:52 -07:00
parent 01b5105e0c
commit 9ae6c45097
2 changed files with 103 additions and 1 deletions

99
.gitignore vendored Normal file
View File

@ -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

View File

@ -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