mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
$(TOPDIR), make: Add support for mkspec_wrapper.sh and dependencies
This commit is contained in:
parent
bb0341d8ae
commit
b49572da88
5 changed files with 14 additions and 2 deletions
|
|
@ -63,10 +63,15 @@ cpmod.dist:
|
|||
done
|
||||
touch $@
|
||||
|
||||
ifneq ($(RPM_REQUIRED),)
|
||||
RPM_REQUIRED_FLAG = "-R $(RPM_REQUIRED)"
|
||||
endif
|
||||
|
||||
cpfiles.dist:
|
||||
mkdir -p $(DIST_SRC_DIR)
|
||||
cp Makefile $(DIST_SRC_DIR)
|
||||
sh $(MKSPEC_SH) -V $(RPM_VERSION) -S $(notdir $(PCKG_TAR)) -N $(RPM_PROJECT) > $(DIST_SRC_DIR)/$(RPM_PROJECT)-$(RPM_VERSION).spec
|
||||
sh $(MKSPEC_SH) -V $(RPM_VERSION) -S $(notdir $(PCKG_TAR)) -N $(RPM_PROJECT) $(RPM_REQUIRED_FLAG) \
|
||||
> $(DIST_SRC_DIR)/$(RPM_PROJECT)-$(RPM_VERSION).spec
|
||||
echo $(RPM_VERSION) > $(DIST_SRC_DIR)/VERSION
|
||||
touch $@
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue