summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2012-10-04 18:19:41 +0100
committerReuben Thomas <rrt@sc3d.org>2012-10-04 18:19:41 +0100
commit4d23cfb500678ffc285860bfb6dd5e2863dda6c2 (patch)
tree79506e1e5f9fa302b8abcd97616d04506924e2ee
parent145fc81aa9b2dd6ea6d53eb18e0f948991773ecb (diff)
downloadlrexlib-4d23cfb500678ffc285860bfb6dd5e2863dda6c2.tar.gz
Makefile: add a target to make the rockspecs
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0458835..8dedb8b 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,9 @@ check:
docs:
@make -C doc
+rockspecs:
+ lua mkrockspecs.lua $(VERSION) `md5sum $(DISTFILE)`
+
dist: docs
git2cl > ChangeLog
cd .. && rm -f $(DISTFILE) && zip $(DISTFILE) -r $(PROJECT) -x "lrexlib/.git/*" "*.gitignore" "*.o" "*.a" "*.so" "*.so.*" "*.zip" "*SciTE.properties" "*scite.properties" && mv $(DISTFILE) $(PROJECT) && cd $(PROJECT) && unzip $(DISTFILE) && mv $(PROJECT) $(PROJECT_VERSIONED) && rm -f $(DISTFILE) && zip $(DISTFILE) -r $(PROJECT_VERSIONED) && rm -rf $(PROJECT_VERSIONED)