mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
topdir.mk: Add target git-jannet-init, reorganized the other git targets a bit
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
0317219761
commit
b737b9c779
1 changed files with 10 additions and 6 deletions
|
|
@ -95,20 +95,24 @@ git-init-from-cvs: git-init
|
|||
list-cvs-files.sh -f | xargs git add
|
||||
git commit -m "initial checkin of $(RPM_VERSION)"
|
||||
|
||||
git-config:
|
||||
git config --global user.name $(FULL_NAME)
|
||||
git config --global user.email $(WHOAMI)@jannet.de
|
||||
|
||||
WHOAMI = $(shell whoami)
|
||||
REMOTE_GIT_DIR = /srv/git/$(WHOAMI)/proj/$(PROJECT)
|
||||
|
||||
git-clone-to-remote: git-config
|
||||
#ssh git.jannet.de "/opt/ytools/bin/git-srv-admin.sh -j create-personal-project $(PROJECT)"
|
||||
git-config:
|
||||
git remote add origin ssh://$(WHOAMI)@git.jannet.de$(REMOTE_GIT_DIR)
|
||||
git config --global user.name $(FULL_NAME)
|
||||
git config --global user.email $(WHOAMI)@jannet.de
|
||||
|
||||
git-clone-to-remote:
|
||||
ssh git.jannet.de "/opt/ytools/bin/git-srv-admin.sh -j create-personal-project $(PROJECT)"
|
||||
git push --all origin
|
||||
|
||||
git-import: git-init
|
||||
git add -A
|
||||
git commit -am "o initial checkin"
|
||||
|
||||
git-jannet-init: git-init git-clone-to-remote
|
||||
|
||||
projects-%:
|
||||
python $(MOD_SCRIPT_DIR)/build.py $* $(PROJECT)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue