mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-25 07:00:39 +01:00
rpmdist.mk: Add target ssh-remote
This target runs ssh -l root $(TARGET_HOST), with TARGET_HOST typically defined in $(MODDIR)/make/local.mk. Seems a bit out-of-place, everything, but anyway. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
231c5a4dae
commit
e70f7a1c5c
2 changed files with 3 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
TOPDIR = ../..
|
TOPDIR = ../..
|
||||||
|
|
||||||
SUBTREE_INSTALL_PREFIX ?= /etc/jcs
|
SUBTREE_INSTALL_PREFIX ?= /etc/jcs
|
||||||
|
SUBTREE_FILES += ./templates/dir/module/Makefile ./templates/dir/src/Makefile
|
||||||
|
|
||||||
include $(TOPDIR)/make/proj.mk
|
include $(TOPDIR)/make/proj.mk
|
||||||
include $(MODDIR)/make/subtree.mk
|
include $(MODDIR)/make/subtree.mk
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -329,6 +329,8 @@ pkg-remote-install:
|
||||||
pkg-remote-install-run: pkg-install-remote.done
|
pkg-remote-install-run: pkg-install-remote.done
|
||||||
scp $(addprefix dist/pckg/,$(PCKG_RPM_RUN_I386)) root@$(TARGET_HOST):/tmp/
|
scp $(addprefix dist/pckg/,$(PCKG_RPM_RUN_I386)) root@$(TARGET_HOST):/tmp/
|
||||||
ssh -l root $(TARGET_HOST) rpm -U --force $(addprefix /tmp/,$(PCKG_RPM_RUN_I386))
|
ssh -l root $(TARGET_HOST) rpm -U --force $(addprefix /tmp/,$(PCKG_RPM_RUN_I386))
|
||||||
|
ssh-remote:
|
||||||
|
ssh -l root $(TARGET_HOST)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
echo-requires:
|
echo-requires:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue