Makefile: added dist target to create distribution source tarball.
This commit is contained in:
parent
f1c24cebfa
commit
05c841ee9e
9
Makefile
9
Makefile
@ -36,3 +36,12 @@ clean:
|
||||
$(MAKE) -C $$dir clean || exit 1; \
|
||||
done
|
||||
-rm -f config.h config.mk
|
||||
|
||||
dist:
|
||||
ifndef REV
|
||||
@echo "Please specify revision/tag with REV, i.e:"
|
||||
@echo " > make REV=0.6.1 dist"
|
||||
@exit 1
|
||||
endif
|
||||
@echo "Building distribution tarball for revision/tag: $(REV) ..."
|
||||
-@hg archive --rev $(REV) --type tgz ~/xbps-$(REV).tar.gz
|
||||
|
Loading…
Reference in New Issue
Block a user