commit 14: 8bf15e640c62
parent 13: f47e6fe2fa70
branch: default
use hg archive to create archive
Michael K. Johnson
15 months ago

Changed (Δ186 bytes):

raw changeset »

Makefile (2 lines added, 9 lines removed)

Up to file-list Makefile:

1
1
#
2
# Copyright (c) 2006-2008 rPath, Inc.
2
# Copyright (c) 2006-2009 rPath, Inc.
3
3
#
4
4
# This program is distributed under the terms of the Common Public License,
5
5
# version 1.0. A copy of this license should have been distributed with this
@@ -47,14 +47,7 @@ dist:
47
47
48
48
49
49
archive: $(dist_files)
50
	rm -rf $(DISTDIR)
51
	mkdir $(DISTDIR)
52
	for d in $(SUBDIRS); do make -C $$d DIR=$$d dist || exit 1; done
53
	for f in $(dist_files); do \
54
		mkdir -p $(DISTDIR)/`dirname $$f`; \
55
		cp -a $$f $(DISTDIR)/$$f; \
56
	done; \
57
	tar cjf $(DISTDIR).tar.bz2 `basename $(DISTDIR)`
50
	hg archive --exclude .hgignore -t tbz2 rbuilder-client-$(VERSION).tar.bz2
58
51
59
52
forcedist: archive
60
53