mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
rpmdist.mk: Add target rpminstall.dist
This commit is contained in:
parent
a58b70e736
commit
3d3d22cbf8
1 changed files with 7 additions and 2 deletions
|
|
@ -44,7 +44,8 @@ DIST_FILES = $(shell echo $(REMOTE_TARGETS) | sed 's/\b.*\///g; s
|
|||
|
||||
RPMS_DIR = /usr/src/packages/RPMS/i386
|
||||
SRPMS_DIR = /usr/src/packages/SRPMS
|
||||
DIST_DIRS = $(DIST_SRC_DIR) $(DIST_PCKG_DIR)
|
||||
DIST_DIRS = $(DIST_SRC_DIR) $(DIST_PCKG_DIR)
|
||||
DIST_PCKG_RPM = $(DIST_PCKG_DIR)/$(PCKG_RPM_RUN_I386) $(DIST_PCKG_DIR)/$(PCKG_RPM_DEVEL_I386)
|
||||
|
||||
clean.dist:
|
||||
rm -rf $(DIST_SRC_DIR) $(DIST_FILE_TAR)
|
||||
|
|
@ -93,7 +94,7 @@ bla:
|
|||
rpm -ts $<
|
||||
cp $(SRPMS_DIR)/$(notdir $@) $@
|
||||
|
||||
$(DIST_PCKG_DIR)/$(PCKG_RPM_RUN_I386) $(DIST_PCKG_DIR)/$(PCKG_RPM_DEVEL_I386): $(DIST_PCKG_DIR)/$(PCKG_TAR)
|
||||
$(DIST_PCKG_RPM): $(DIST_PCKG_DIR)/$(PCKG_TAR)
|
||||
if [ $< -nt $(RPMS_DIR)/$(notdir $@) ]; then rpm -tb $<; fi
|
||||
cp $(RPMS_DIR)/$(notdir $@) $@
|
||||
|
||||
|
|
@ -107,6 +108,10 @@ upload.dist:
|
|||
make $(REMOTE_TARGETS)
|
||||
touch $@.done
|
||||
|
||||
rpminstall.dist: $(DIST_PCKG_RPM)
|
||||
rpm -U $<
|
||||
touch $@
|
||||
|
||||
tag.dist:
|
||||
cvs tag $(TAG_VERSION)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue