cfg_dev.mk, rpmdist.mk: Kick out cat VERSION mechanism

This commit is contained in:
Jan Lindemann 2002-07-25 20:28:49 +00:00 committed by Jan Lindemann
commit 6aad0b60cf
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
# $Id$
#CONTRIBDIR = $(TOPDIR)/contrib
PREFIX = $(HOME)/dat/test/$(PROJECT)-$(shell cat $(TOPDIR)/VERSION)
PREFIX = $(HOME)/dat/test/$(PROJECT)-$(YTOOLS_VERSION)
VAR_PREFIX = $(PREFIX)/var
DOC_PREFIX = $(PREFIX)/doc/$(PROJECT)
EXEGROUP = $(shell id -gn)

View file

@ -12,7 +12,7 @@ ifndef FTP_DIR_MODE
FTP_DIR_MODE = 750
endif
RPM_VERSION := $(shell cat VERSION | sed -e s'/-dev//')
RPM_VERSION = $(VERSION)
CLEAN += $(wildcard *.spec *.rpm *~ *.rpmrc *.dist .*.swp)
DIST_SRC_DIR = dist/src/$(RPM_PROJECT)-$(RPM_VERSION)