mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
projects-dir.mk: Ditch cvs-check-useer
Abolish cvs-check-user target, since it forces superfluous rebuilds. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
0c2d84e07b
commit
d4dc71ae92
1 changed files with 4 additions and 2 deletions
|
|
@ -305,11 +305,12 @@ clean.ssh-wrapper:
|
||||||
rm -f $(SSH_WRAPPER_SH)
|
rm -f $(SSH_WRAPPER_SH)
|
||||||
clean: clean.ssh-wrapper
|
clean: clean.ssh-wrapper
|
||||||
|
|
||||||
cvs-check-user:
|
define check_cvs_user
|
||||||
@if ! grep -q ":ext:$(JANWARE_USER)@" CVS/Root; then \
|
@if ! grep -q ":ext:$(JANWARE_USER)@" CVS/Root; then \
|
||||||
echo "Wrong username in CVS/Root, change that to: $(CVSROOT)" ;\
|
echo "Wrong username in CVS/Root, change that to: $(CVSROOT)" ;\
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
|
endef
|
||||||
|
|
||||||
cvsdir.done: $(SSH_WRAPPER_SH)
|
cvsdir.done: $(SSH_WRAPPER_SH)
|
||||||
if [ ! -d CVS ]; then \
|
if [ ! -d CVS ]; then \
|
||||||
|
|
@ -320,7 +321,8 @@ cvsdir.done: $(SSH_WRAPPER_SH)
|
||||||
fi
|
fi
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
cvs-update.done: cvsdir.done $(SSH_WRAPPER_SH) cvs-check-user
|
cvs-update.done: cvsdir.done $(SSH_WRAPPER_SH)
|
||||||
|
$(check_cvs_user)
|
||||||
cvs update -dP Makefile $(shell $(CVS_ADMIN_SH) list-projects)
|
cvs update -dP Makefile $(shell $(CVS_ADMIN_SH) list-projects)
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue