add info
This commit is contained in:
@@ -92,6 +92,7 @@ endif
|
|||||||
ifndef RELEASE
|
ifndef RELEASE
|
||||||
RELEASE := $(word 2, $(VER_REL))
|
RELEASE := $(word 2, $(VER_REL))
|
||||||
endif
|
endif
|
||||||
|
$(info $$VER_REL is ${VER_REL} version is ${VERSION})
|
||||||
# this is used in make patch, maybe make clean eventually.
|
# this is used in make patch, maybe make clean eventually.
|
||||||
# would be nicer to autodetermine from the spec file...
|
# would be nicer to autodetermine from the spec file...
|
||||||
RPM_BUILD_DIR ?= $(BUILDDIR)/$(NAME)-$(VERSION)
|
RPM_BUILD_DIR ?= $(BUILDDIR)/$(NAME)-$(VERSION)
|
||||||
@@ -109,6 +110,7 @@ EXT := $(shell cat $(NAME).spec | grep -e '^[S|s]ource' | head -n 1 | sed 's/Sou
|
|||||||
#ARCHIVEFILE := $(shell cat archivefilename)
|
#ARCHIVEFILE := $(shell cat archivefilename)
|
||||||
#endif
|
#endif
|
||||||
ARCHIVEFILE := $(shell cat $(NAME).spec | grep -e '^[S|s]ource' | sed -r 's/^[S|s]ource[0-9]?:\s?//' | sed -e 's/{//g' -e 's/}//g' -e "s/%name/$(NAME)/g" -e "s/%version/$(VERSION)/g" | xargs basename)
|
ARCHIVEFILE := $(shell cat $(NAME).spec | grep -e '^[S|s]ource' | sed -r 's/^[S|s]ource[0-9]?:\s?//' | sed -e 's/{//g' -e 's/}//g' -e "s/%name/$(NAME)/g" -e "s/%version/$(VERSION)/g" | xargs basename)
|
||||||
|
#$(info $$VER_REL is ${VER_REL} version is ${VERSION} ARCHIVEFILE is ${ARCHIVEFILE})
|
||||||
|
|
||||||
# default target:
|
# default target:
|
||||||
all:
|
all:
|
||||||
|
|||||||
Reference in New Issue
Block a user