[hackers] [sbase] [PATCH] Add .gitignore

From: Michael Forney <mforney_AT_mforney.org>
Date: Thu, 13 Jun 2019 13:55:32 -0700

Also, add rule to regenerate in case executable list changes.
---
Any objection to this?
 .gitignore | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 Makefile   |  5 ++-
 2 files changed, 103 insertions(+), 1 deletion(-)
 create mode 100644 .gitignore
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..f4709cb
--- /dev/null
+++ b/.gitignore
_AT_@ -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
_AT_@ -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) ; } > $_AT_
+
+.PHONY: all install uninstall dist sbase-box sbase-box-install sbase-box-uninstall clean .gitignore
-- 
2.20.1
Received on Thu Jun 13 2019 - 22:55:32 CEST

This archive was generated by hypermail 2.3.0 : Fri Jun 14 2019 - 01:48:24 CEST