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}/subdir.mk
|
||||
include ${MK}/dist.mk
|
||||
include ${MK}/gitignore.mk
|
||||
|
||||
_installafter:
|
||||
${INSTALL} -d ${DESTDIR}/${PREFIX}/${RC_LIB}/init.d
|
||||
|
@ -18,7 +18,7 @@ MAKE_LINKS= suffix=$${man\#*.}; \
|
||||
|
||||
MK= ../mk
|
||||
include ${MK}/sys.mk
|
||||
include ${MK}/gitignore.mk
|
||||
include ${MK}/svnignore.mk
|
||||
|
||||
all:
|
||||
|
||||
|
@ -64,4 +64,4 @@ extra_depend:
|
||||
include ${MK}/sys.mk
|
||||
include ${MK}/os.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}/os.mk
|
||||
include ${MK}/depend.mk
|
||||
include ${MK}/gitignore.mk
|
||||
include ${MK}/svnignore.mk
|
||||
|
@ -56,4 +56,4 @@ CLEANFILES+= ${OBJS}
|
||||
clean:
|
||||
@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}
|
||||
depend:
|
||||
${_SUBDIR}
|
||||
gitignore:
|
||||
ignore:
|
||||
${_SUBDIR}
|
||||
|
@ -1,15 +1,12 @@
|
||||
# rules to make .gitignore files
|
||||
# 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}
|
||||
|
||||
.PHONY: .gitignore
|
||||
|
||||
.gitignore:
|
||||
ignore:
|
||||
@if test -n "${IGNOREFILES}"; then \
|
||||
echo "Ignoring ${IGNOREFILES}"; \
|
||||
echo ${IGNOREFILES} | tr ' ' '\n' > .gitignore; \
|
||||
files="$$(echo ${IGNOREFILES} | tr ' ' '\n')"; \
|
||||
eval svn propset svn:ignore \'"$${files}"\' .; \
|
||||
fi
|
||||
|
||||
gitignore: .gitignore
|
@ -14,7 +14,7 @@ INITDIR= ../init.d
|
||||
MK= ../mk
|
||||
include ${MK}/sys.mk
|
||||
include ${MK}/os.mk
|
||||
include ${MK}/gitignore.mk
|
||||
include ${MK}/svnignore.mk
|
||||
include Makefile.${OS}
|
||||
|
||||
all:
|
||||
|
@ -2,7 +2,7 @@ all:
|
||||
|
||||
install:
|
||||
|
||||
gitignore:
|
||||
ignore:
|
||||
|
||||
check test::
|
||||
./runtests.sh
|
||||
|
Loading…
Reference in New Issue
Block a user