diff options
author | Rob Crittenden <rcritten@redhat.com> | 2008-04-21 18:23:02 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2008-05-09 11:09:49 -0400 |
commit | 9fe649b804fda3e5d49674f8597b8321df03cdbb (patch) | |
tree | 91e5725a83291088d7c8a5aad227e5dae0878efd /Makefile | |
parent | 5c4b1770c04fa49614abc17adb6313791669d638 (diff) | |
download | freeipa-9fe649b804fda3e5d49674f8597b8321df03cdbb.tar.gz freeipa-9fe649b804fda3e5d49674f8597b8321df03cdbb.tar.xz freeipa-9fe649b804fda3e5d49674f8597b8321df03cdbb.zip |
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
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |