mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
rpmdist.mk: Support PACKAGE_VCS_FILES = true / false
PACKAGE_VCS_FILES defaults to false. Defining it to true before including rpmdist.mk includes the version-control metadata files in the source packages. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
e42e3b783b
commit
cfaf466487
1 changed files with 6 additions and 1 deletions
|
|
@ -31,6 +31,11 @@ HASH = $(shell $(cvs_files) -z | \
|
|||
xargs -0 md5sum | md5sum | $(SED) 's/ .*//')
|
||||
LOCAL_REPO ?= /srv/dav/pub/local/packages/suse/$(OS_NAME_VERSION)
|
||||
|
||||
PACKAGE_VCS_FILES ?= false
|
||||
ifeq ($(PACKAGE_VCS_FILES),true)
|
||||
PKG_SH_BUILD_OPTS += --include-vcs-files
|
||||
endif
|
||||
|
||||
include $(JWBDIR)/make/tag-defs.mk
|
||||
|
||||
DIST_DIR = dist
|
||||
|
|
@ -153,7 +158,7 @@ clean.rpm:
|
|||
#endif
|
||||
|
||||
pkg-build.dist: $(VERSION_FILE)
|
||||
$(PKG_SH) build
|
||||
$(PKG_SH) build $(PKG_SH_BUILD_OPTS)
|
||||
touch $@
|
||||
|
||||
pkg-update-local-repo:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue