Fix ignore files some more.

This commit is contained in:
Roy Marples 2008-03-03 13:31:25 +00:00
parent 35929e23bb
commit b614477948
7 changed files with 18 additions and 10 deletions

1
.gitignore vendored
View File

@ -1,2 +1 @@
*.bz2
openrc-0.1.tar.bz2 openrc-0.1.tar.bz2

9
init.d.misc/.gitignore vendored Normal file
View File

@ -0,0 +1,9 @@
avahi-dnsconfd
avahid
dbus
hald
named
ntpd
openvpn
polkitd
sshd

View File

@ -1,6 +1,7 @@
DIR= /etc/init.d DIR= /etc/init.d
SRCS= avahi-dnsconfd.in avahi.in dbus.in hald.in named.in ntpd.in \ SRCS= avahi-dnsconfd.in avahid.in dbus.in hald.in named.in ntpd.in \
openvpn.in polkitd.in sshd.in openvpn.in polkitd.in sshd.in
MK= ../mk
include ${MK}/scripts.mk include ${MK}/scripts.mk
include Makefile.${OS} include Makefile.${OS}

View File

@ -6,13 +6,9 @@ IGNOREFILES+= ${CLEANFILES}
.PHONY: .gitignore .PHONY: .gitignore
.gitignore: .gitignore:
@if test -n "${IGNOREFILES}"; then echo "Ignoring ${IGNOREFILES}"; fi @if test -n "${IGNOREFILES}"; then \
@for obj in ${IGNOREFILES}; do \ echo "Ignoring ${IGNOREFILES}"; \
if ! test -r .gitignore; then \ echo ${IGNOREFILES} | tr ' ' '\n' > .gitignore; \
echo "$${obj}" > .gitignore || exit $$?; \ fi
elif ! grep -q "^$${obj}$$" .gitignore; then \
echo "$${obj}" >> .gitignore || exit $$?; \
fi; \
done
gitignore: .gitignore gitignore: .gitignore

View File

@ -4,3 +4,4 @@ libeinfo.So
libeinfo.a libeinfo.a
libeinfo.so.1 libeinfo.so.1
libeinfo.so libeinfo.so
.depend

View File

@ -12,3 +12,4 @@ librc-strlist.So
librc.a librc.a
librc.so.1 librc.so.1
librc.so librc.so
.depend

1
src/rc/.gitignore vendored
View File

@ -66,3 +66,4 @@ rc.o
runscript.o runscript.o
start-stop-daemon.o start-stop-daemon.o
rc rc
.depend