Ignore fixes.
This commit is contained in:
parent
7a8e9d4ddb
commit
f35c879bb8
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
*.bz2
|
*.bz2
|
||||||
|
openrc-0.1.tar.bz2
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# Copyright 2008 Roy Marples <roy@marples.name>
|
# Copyright 2008 Roy Marples <roy@marples.name>
|
||||||
|
|
||||||
GITREF?= HEAD
|
GITREF?= HEAD
|
||||||
DISTPREFIX?= ${PROG}-${VERSION}
|
DISTPREFIX?= ${NAME}-${VERSION}
|
||||||
DISTFILE?= ${DISTPREFIX}.tar.bz2
|
DISTFILE?= ${DISTPREFIX}.tar.bz2
|
||||||
|
|
||||||
CLEANFILES+= ${DISTFILE}
|
CLEANFILES+= ${DISTFILE}
|
||||||
|
@ -3,8 +3,11 @@
|
|||||||
|
|
||||||
IGNOREFILES+= ${CLEANFILES}
|
IGNOREFILES+= ${CLEANFILES}
|
||||||
|
|
||||||
|
.PHONY: .gitignore
|
||||||
|
|
||||||
.gitignore:
|
.gitignore:
|
||||||
for obj in ${IGNOREFILES}; do \
|
@if test -n "${IGNOREFILES}"; then echo "Ignoring ${IGNOREFILES}"; fi
|
||||||
|
@for obj in ${IGNOREFILES}; do \
|
||||||
if ! test -r .gitignore; then \
|
if ! test -r .gitignore; then \
|
||||||
echo "$${obj}" > .gitignore || exit $$?; \
|
echo "$${obj}" > .gitignore || exit $$?; \
|
||||||
elif ! grep -q "^$${obj}$$" .gitignore; then \
|
elif ! grep -q "^$${obj}$$" .gitignore; then \
|
||||||
|
@ -40,6 +40,6 @@ install: all realinstall ${INSTALLAFTER}
|
|||||||
# so we ensure that it has a bogus argument
|
# so we ensure that it has a bogus argument
|
||||||
CLEANFILES+= ${OBJS}
|
CLEANFILES+= ${OBJS}
|
||||||
clean:
|
clean:
|
||||||
if test -n "${CLEANFILES}"; then rm -f ${CLEANFILES}; fi
|
@if test -n "${CLEANFILES}"; then echo "rm -f ${CLEANFILES}"; rm -f ${CLEANFILES}; fi
|
||||||
|
|
||||||
include ${MK}/gitignore.mk
|
include ${MK}/gitignore.mk
|
||||||
|
@ -31,6 +31,7 @@ done
|
|||||||
all:
|
all:
|
||||||
${_SUBDIR}
|
${_SUBDIR}
|
||||||
clean:
|
clean:
|
||||||
|
@if test -n "${CLEANFILES}"; then echo "rm -f ${CLEANFILES}"; rm -f ${CLEANFILES}; fi
|
||||||
${_SUBDIR}
|
${_SUBDIR}
|
||||||
realinstall:
|
realinstall:
|
||||||
${_SUBDIR}
|
${_SUBDIR}
|
||||||
|
Loading…
Reference in New Issue
Block a user