rpmdist.mk: Add target tag.dist

This commit is contained in:
Jan Lindemann 2002-09-01 10:43:36 +00:00 committed by Jan Lindemann
commit b9b35bed76

View file

@ -13,6 +13,7 @@ FTP_DIR_MODE = 750
endif
RPM_VERSION = $(VERSION)
TAG_VERSION = V_$(shell echo $(VERSION) | sed 's/[\.-]/_/g')
CLEAN += $(wildcard *.spec *.rpm *~ *.rpmrc *.dist .*.swp)
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
make $(REMOTE_TARGETS)
touch $@.done
tag.dist:
cvs tag $(TAG_VERSION)