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

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
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
MK= ../mk
include ${MK}/scripts.mk
include Makefile.${OS}

View File

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

View File

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

View File

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

1
src/rc/.gitignore vendored
View File

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