mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Convert mercurial command to git equivalent for creating an archive.
By default it will use the master branch of the repo this is run from. To specify a different branch use the argument TARGET=<branch> e.g. make dist TARGET=ipa-1-0 442419
This commit is contained in:
parent
5c4b1770c0
commit
9fe649b804
3
Makefile
3
Makefile
@ -5,6 +5,7 @@ SUBDIRS=ipa-server ipa-admintools ipa-python ipa-client ipa-radius-server ipa-ra
|
||||
PRJ_PREFIX=ipa
|
||||
|
||||
RPMBUILD ?= $(PWD)/rpmbuild
|
||||
TARGET ?= master
|
||||
|
||||
# After updating the version in VERSION you should run the version-update
|
||||
# target.
|
||||
@ -109,7 +110,7 @@ version-update:
|
||||
|
||||
archive:
|
||||
-mkdir -p dist
|
||||
hg archive -t files dist/ipa
|
||||
git archive --format=tar --prefix=ipa/ $(TARGET) | (cd dist && tar xf -)
|
||||
|
||||
local-archive:
|
||||
-mkdir -p dist/ipa
|
||||
|
Loading…
Reference in New Issue
Block a user