aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorpmichaud <pmichaud@pobox.com>2010-07-28 01:23:44 -0500
committerpmichaud <pmichaud@pobox.com>2010-07-28 01:23:44 -0500
commit2eff06a529aae02f2b6b38835ad38fbf7833597c (patch)
tree79ea7a0fda91bbd73fb658bf320a933a668723b1 /Makefile
parent5d1a7bccc213b2444581345c06f756f1fa538c50 (diff)
Refactor pieces into skel/ .
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile27
1 files changed, 9 insertions, 18 deletions
diff --git a/Makefile b/Makefile
index 5695840..35f5c82 100644
--- a/Makefile
+++ b/Makefile
@@ -11,11 +11,6 @@ RAKUDO_DIR = $(DISTDIR)/rakudo
BUILD_DIR = $(DISTDIR)/build
MODULES_DIR = $(DISTDIR)/modules
-BUILD_FILES = \
- build/gen_parrot.pl \
- build/module-install.pl \
- build/Makefile.in \
-
MODULES = \
git://github.com/masak/ufo \
git://github.com/masak/proto \
@@ -39,15 +34,20 @@ DISTTARGETS = \
$(PARROT_DIR) \
$(RAKUDO_DIR) \
$(MODULES_DIR) \
- $(BUILD_DIR) \
$(BUILD_DIR)/PARROT_REVISION \
- $(DISTDIR)/Configure.pl \
$(DISTDIR)/MANIFEST \
-$(DISTDIR): version_check $(DISTTARGETS)
+dist: version_check $(DISTDIR) $(DISTTARGETS)
+
+version_check:
+ @[ -n "$(VERSION)" ] || ( echo "\nTry 'make VERSION=yyyy.mm'\n\n"; exit 1)
+
+always:
+
+$(DISTDIR):
+ cp -a skel $(DISTDIR)
$(PARROT_DIR): $(PARROT_TGZ)
- mkdir -p $(DISTDIR)
tar -C $(DISTDIR) -xvzf $(PARROT_TGZ)
$(PARROT).tar.gz:
wget http://ftp.parrot.org/releases/supported/$(PARROT_VER)/$(PARROT_TGZ)
@@ -56,10 +56,6 @@ $(RAKUDO_DIR):
git clone git@github.com:rakudo/rakudo.git $(RAKUDO_DIR)
cd $(RAKUDO_DIR); git checkout $(RAKUDO_VER)
-$(BUILD_DIR): $(BUILD_FILES)
- mkdir -p $(BUILD_DIR)
- cp $(BUILD_FILES) $(BUILD_DIR)
-
$(BUILD_DIR)/PARROT_REVISION: $(RAKUDO_DIR) $(RAKUDO_DIR)/build/PARROT_REVISION
cp $(RAKUDO_DIR)/build/PARROT_REVISION $(BUILD_DIR)
@@ -77,11 +73,6 @@ $(DISTDIR)/MANIFEST:
echo "$(PARROT)/.gitignore" >>$(DISTDIR)/MANIFEST
echo "$(PARROT)/tools/dev/.gdbinit" >>$(DISTDIR)/MANIFEST
-version_check:
- @[ -n "$(VERSION)" ] || ( echo "\nTry 'make VERSION=yyyy.mm'\n\n"; exit 1)
-
-always:
-
release: $(DISTDIR)
perl -ne 'print "$(DISTDIR)/$$_"' $(DISTDIR)/MANIFEST |\
tar -zcv -T - -f $(DISTDIR).tar.gz