Commit 800abfe4 authored by matt mooney's avatar matt mooney Committed by Allan McRae
Browse files

Makefile: use formatted output in release target



Signed-off-by: default avatarmatt mooney <mfm@muteddisk.com>
parent 87e37464
......@@ -80,15 +80,20 @@ uninstall:
.PHONY: release
release:
mkdir -p $(BUILDDIR)/abs
cp Makefile $(BUILDDIR)/abs/
cp abs $(BUILDDIR)/abs/
cp makeworld $(BUILDDIR)/abs/
cp README $(BUILDDIR)/abs/
cp COPYING $(BUILDDIR)/abs/
cp -R conf $(BUILDDIR)/abs/
cp -R prototypes $(BUILDDIR)/abs/
cp -R scripts $(BUILDDIR)/abs/
cd $(BUILDDIR) && tar czf abs-$(ABS_VERSION).tar.gz "abs/"
mv $(BUILDDIR)/abs-$(ABS_VERSION).tar.gz .
rm -rf $(BUILDDIR)
@echo -e "$(call MSG1,Build abs-$(ABS_VERSION) release)"
@echo -e "$(call MSG2,Creating build directory)"
@mkdir -p $(BUILDDIR)/abs
@echo -e "$(call MSG2,Copying files)"
@cp Makefile $(BUILDDIR)/abs/
@cp abs $(BUILDDIR)/abs/
@cp makeworld $(BUILDDIR)/abs/
@cp README $(BUILDDIR)/abs/
@cp COPYING $(BUILDDIR)/abs/
@cp -R conf $(BUILDDIR)/abs/
@cp -R prototypes $(BUILDDIR)/abs/
@cp -R scripts $(BUILDDIR)/abs/
@echo -e "$(call MSG2,Tarring files)"
@cd $(BUILDDIR) && tar czf abs-$(ABS_VERSION).tar.gz "abs/"
@mv $(BUILDDIR)/abs-$(ABS_VERSION).tar.gz .
@echo -e "$(call MSG2,Removing build directory)"
@rm -rf $(BUILDDIR)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment