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 tag.dist
This commit is contained in:
parent
bef48a8da4
commit
b9b35bed76
1 changed files with 4 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ FTP_DIR_MODE = 750
|
||||||
endif
|
endif
|
||||||
|
|
||||||
RPM_VERSION = $(VERSION)
|
RPM_VERSION = $(VERSION)
|
||||||
|
TAG_VERSION = V_$(shell echo $(VERSION) | sed 's/[\.-]/_/g')
|
||||||
|
|
||||||
CLEAN += $(wildcard *.spec *.rpm *~ *.rpmrc *.dist .*.swp)
|
CLEAN += $(wildcard *.spec *.rpm *~ *.rpmrc *.dist .*.swp)
|
||||||
DIST_SRC_DIR = dist/src/$(RPM_PROJECT)-$(RPM_VERSION)
|
DIST_SRC_DIR = dist/src/$(RPM_PROJECT)-$(RPM_VERSION)
|
||||||
|
|
@ -102,3 +103,6 @@ upload.dist:
|
||||||
if [ -f configure -o -f configure.ac -o -f configure.ac.tmpl ]; then make config; fi
|
if [ -f configure -o -f configure.ac -o -f configure.ac.tmpl ]; then make config; fi
|
||||||
make $(REMOTE_TARGETS)
|
make $(REMOTE_TARGETS)
|
||||||
touch $@.done
|
touch $@.done
|
||||||
|
|
||||||
|
tag.dist:
|
||||||
|
cvs tag $(TAG_VERSION)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue