make ignore now configures the sv:ignore property.
This commit is contained in:
parent
2c98c5326a
commit
38e6c9ba5c
1
Makefile
1
Makefile
@ -17,7 +17,6 @@ include ${MK}/sys.mk
|
|||||||
include ${MK}/os.mk
|
include ${MK}/os.mk
|
||||||
include ${MK}/subdir.mk
|
include ${MK}/subdir.mk
|
||||||
include ${MK}/dist.mk
|
include ${MK}/dist.mk
|
||||||
include ${MK}/gitignore.mk
|
|
||||||
|
|
||||||
_installafter:
|
_installafter:
|
||||||
${INSTALL} -d ${DESTDIR}/${PREFIX}/${RC_LIB}/init.d
|
${INSTALL} -d ${DESTDIR}/${PREFIX}/${RC_LIB}/init.d
|
||||||
|
@ -18,7 +18,7 @@ MAKE_LINKS= suffix=$${man\#*.}; \
|
|||||||
|
|
||||||
MK= ../mk
|
MK= ../mk
|
||||||
include ${MK}/sys.mk
|
include ${MK}/sys.mk
|
||||||
include ${MK}/gitignore.mk
|
include ${MK}/svnignore.mk
|
||||||
|
|
||||||
all:
|
all:
|
||||||
|
|
||||||
|
@ -64,4 +64,4 @@ extra_depend:
|
|||||||
include ${MK}/sys.mk
|
include ${MK}/sys.mk
|
||||||
include ${MK}/os.mk
|
include ${MK}/os.mk
|
||||||
include ${MK}/depend.mk
|
include ${MK}/depend.mk
|
||||||
include ${MK}/gitignore.mk
|
include ${MK}/svnignore.mk
|
||||||
|
@ -38,4 +38,4 @@ extra_depend:
|
|||||||
include ${MK}/sys.mk
|
include ${MK}/sys.mk
|
||||||
include ${MK}/os.mk
|
include ${MK}/os.mk
|
||||||
include ${MK}/depend.mk
|
include ${MK}/depend.mk
|
||||||
include ${MK}/gitignore.mk
|
include ${MK}/svnignore.mk
|
||||||
|
@ -56,4 +56,4 @@ CLEANFILES+= ${OBJS}
|
|||||||
clean:
|
clean:
|
||||||
@if test -n "${CLEANFILES}"; then echo "rm -f ${CLEANFILES}"; rm -f ${CLEANFILES}; fi
|
@if test -n "${CLEANFILES}"; then echo "rm -f ${CLEANFILES}"; rm -f ${CLEANFILES}; fi
|
||||||
|
|
||||||
include ${MK}/gitignore.mk
|
include ${MK}/svnignore.mk
|
||||||
|
@ -27,5 +27,5 @@ check test::
|
|||||||
${_SUBDIR}
|
${_SUBDIR}
|
||||||
depend:
|
depend:
|
||||||
${_SUBDIR}
|
${_SUBDIR}
|
||||||
gitignore:
|
ignore:
|
||||||
${_SUBDIR}
|
${_SUBDIR}
|
||||||
|
@ -1,15 +1,12 @@
|
|||||||
# rules to make .gitignore files
|
# rules to make svn ignore files
|
||||||
# Copyright 2008 Roy Marples <roy@marples.name>
|
# Copyright 2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved. Released under the 2-clause BSD license.
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
IGNOREFILES+= ${CLEANFILES}
|
IGNOREFILES+= ${CLEANFILES}
|
||||||
|
|
||||||
.PHONY: .gitignore
|
ignore:
|
||||||
|
|
||||||
.gitignore:
|
|
||||||
@if test -n "${IGNOREFILES}"; then \
|
@if test -n "${IGNOREFILES}"; then \
|
||||||
echo "Ignoring ${IGNOREFILES}"; \
|
echo "Ignoring ${IGNOREFILES}"; \
|
||||||
echo ${IGNOREFILES} | tr ' ' '\n' > .gitignore; \
|
files="$$(echo ${IGNOREFILES} | tr ' ' '\n')"; \
|
||||||
|
eval svn propset svn:ignore \'"$${files}"\' .; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
gitignore: .gitignore
|
|
@ -14,7 +14,7 @@ INITDIR= ../init.d
|
|||||||
MK= ../mk
|
MK= ../mk
|
||||||
include ${MK}/sys.mk
|
include ${MK}/sys.mk
|
||||||
include ${MK}/os.mk
|
include ${MK}/os.mk
|
||||||
include ${MK}/gitignore.mk
|
include ${MK}/svnignore.mk
|
||||||
include Makefile.${OS}
|
include Makefile.${OS}
|
||||||
|
|
||||||
all:
|
all:
|
||||||
|
@ -2,7 +2,7 @@ all:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
|
|
||||||
gitignore:
|
ignore:
|
||||||
|
|
||||||
check test::
|
check test::
|
||||||
./runtests.sh
|
./runtests.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user