commit 9ae6c45097e48de66219366f1c55bc4eb01adc7f
Author:     Michael Forney <[email protected]>
AuthorDate: Thu Jun 13 13:52:52 2019 -0700
Commit:     Michael Forney <[email protected]>
CommitDate: Fri Jun 28 00:10:10 2019 -0700

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

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..f4709cb
--- /dev/null
+++ 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
index 0e421e7..75b1618 100644
--- 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

Reply via email to