Go back to git

This commit is contained in:
Roy Marples 2009-04-30 15:05:39 +01:00
parent e0f0fc8046
commit b70501ef45
16 changed files with 155 additions and 22 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.bz2

1
conf.d/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
network

3
etc/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
rc.conf
rc
rc.shutdown

25
init.d/.gitignore vendored Normal file
View File

@ -0,0 +1,25 @@
bootmisc
fsck
hostname
local
localmount
netmount
network
root
savecache
swap
sysctl
urandom
devfs
dmesg
hwclock
consolefont
keymaps
killprocs
modules
mount-ro
mtab
numlock
procfs
sysfs
termencoding

View File

@ -18,7 +18,7 @@ MAKE_LINKS= suffix=$${man\#*.}; \
MK= ../mk
include ${MK}/sys.mk
include ${MK}/svnignore.mk
include ${MK}/gitignore.mk
all:

View File

@ -2,6 +2,7 @@
# Copyright 2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
GITREF?= HEAD
DISTPREFIX?= ${NAME}-${VERSION}
DISTFILE?= ${DISTPREFIX}.tar.bz2
@ -14,9 +15,7 @@ SNAPDIR= ${DISTPREFIX}-${SNAP}
SNAPFILE= ${SNAPDIR}.tar.bz2
dist:
svn export . ${DISTPREFIX}
tar cjpf ${DISTFILE} ${DISTPREFIX}
rm -rf ${DISTPREFIX}
git archive --prefix=${DISTPREFIX}/ ${GITREF} | bzip2 > ${DISTFILE}
snapshot:
rm -rf /tmp/${SNAPDIR}

15
mk/gitignore.mk Normal file
View File

@ -0,0 +1,15 @@
# rules to make .gitignore files
# Copyright 2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
IGNOREFILES+= ${CLEANFILES}
.PHONY: .gitignore
.gitignore:
@if test -n "${IGNOREFILES}"; then \
echo "Ignoring ${IGNOREFILES}"; \
echo ${IGNOREFILES} | tr ' ' '\n' > .gitignore; \
fi
ignore: .gitignore

View File

@ -64,4 +64,4 @@ extra_depend:
include ${MK}/sys.mk
include ${MK}/os.mk
include ${MK}/depend.mk
include ${MK}/svnignore.mk
include ${MK}/gitignore.mk

View File

@ -38,4 +38,4 @@ extra_depend:
include ${MK}/sys.mk
include ${MK}/os.mk
include ${MK}/depend.mk
include ${MK}/svnignore.mk
include ${MK}/gitignore.mk

View File

@ -56,4 +56,4 @@ CLEANFILES+= ${OBJS}
clean:
@if test -n "${CLEANFILES}"; then echo "rm -f ${CLEANFILES}"; rm -f ${CLEANFILES}; fi
include ${MK}/svnignore.mk
include ${MK}/gitignore.mk

View File

@ -1,14 +0,0 @@
# rules to make svn ignore files
# Copyright 2008 Roy Marples <roy@marples.name>
# All rights reserved. Released under the 2-clause BSD license.
IGNOREFILES+= ${CLEANFILES}
ignore:
@if test -n "${IGNOREFILES}"; then \
echo "=> Ignoring ${IGNOREFILES}"; \
files="$$(echo "${IGNOREFILES}" | tr ' ' '\n')"; \
efiles="$$(svn propget svn:ignore .)"; \
sfiles="$$(printf "$${files}\n$${efiles}" | sort -u)"; \
eval svn propset svn:ignore \'"$${sfiles}"\' .; \
fi

View File

@ -14,7 +14,7 @@ INITDIR= ../init.d
MK= ../mk
include ${MK}/sys.mk
include ${MK}/os.mk
include ${MK}/svnignore.mk
include ${MK}/gitignore.mk
include Makefile.${OS}
all:

7
sh/.gitignore vendored Normal file
View File

@ -0,0 +1,7 @@
functions.sh
gendepends.sh
init-common-post.sh
rc-functions.sh
runscript.sh
init.sh
init-early.sh

7
src/libeinfo/.gitignore vendored Normal file
View File

@ -0,0 +1,7 @@
.depend
libeinfo.o
libeinfo.So
libeinfo.a
libeinfo.so.1
libeinfo.so
.depend

16
src/librc/.gitignore vendored Normal file
View File

@ -0,0 +1,16 @@
.depend
librc.o
librc-daemon.o
librc-depend.o
librc-misc.o
librc-stringlist.o
librc.So
librc-daemon.So
librc-depend.So
librc-misc.So
librc-stringlist.So
librc.a
librc.so.1
librc.so
.depend
rc.h

73
src/rc/.gitignore vendored Normal file
View File

@ -0,0 +1,73 @@
.depend
version.h
rc-status
rc-service
rc-update
runscript
start-stop-daemon
einfon
einfo
ewarnn
ewarn
eerrorn
eerror
ebegin
eend
ewend
eindent
eoutdent
esyslog
eval_ecolors
ewaitfile
veinfo
vewarn
vebegin
veend
vewend
veindent
veoutdent
service_starting
service_started
service_stopping
service_stopped
service_inactive
service_wasinactive
service_hotplugged
service_started_daemon
service_crashed
checkpath
fstabinfo
mountinfo
rc-depend
service_get_value
service_set_value
get_options
save_options
shell_var
is_newer_than
is_older_than
mark_service_starting
mark_service_started
mark_service_stopping
mark_service_stopped
mark_service_inactive
mark_service_wasinactive
mark_service_hotplugged
mark_service_failed
rc-abort
checkpath.o
fstabinfo.o
mountinfo.o
start-stop-daemon.o
rc-applets.o
rc-depend.o
rc-logger.o
rc-misc.o
rc-plugin.o
rc-service.o
rc-status.o
rc-update.o
runscript.o
rc.o
rc
.depend