Makefile: remove sdist target
It is not used anywhere and might be confusing to newcomers, because it only contains the (private) osbuild library, without the command line tool and runners/stages/assemblers.
This commit is contained in:
parent
5a05f7ac11
commit
52a703de55
1 changed files with 1 additions and 6 deletions
7
Makefile
7
Makefile
|
|
@ -2,12 +2,6 @@ VERSION := $(shell python3 setup.py --version)
|
|||
NEXT_VERSION := $(shell expr "$(VERSION)" + 1)
|
||||
COMMIT=$(shell git rev-parse HEAD)
|
||||
|
||||
.PHONY: sdist bump-version
|
||||
|
||||
sdist:
|
||||
python3 setup.py sdist
|
||||
find `pwd`/dist -name '*.tar.gz' -printf '%f\n' -exec mv {} . \;
|
||||
|
||||
#
|
||||
# Building packages
|
||||
#
|
||||
|
|
@ -47,6 +41,7 @@ rpm: $(RPM_SPECFILE) $(RPM_TARBALL)
|
|||
# Releasing
|
||||
#
|
||||
|
||||
.PHONY: bump-version
|
||||
bump-version:
|
||||
sed -i "s|Version:\(\s*\)$(VERSION)|Version:\1$(NEXT_VERSION)|" osbuild.spec
|
||||
sed -i "s|Release:\(\s*\)[[:digit:]]\+|Release:\11|" osbuild.spec
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue