diff options
author | Reuben Thomas <rrt@sc3d.org> | 2012-10-18 14:14:45 +0100 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2012-10-18 14:14:45 +0100 |
commit | b1db4e5ae44e54eb41401ebfc8609d3c30890395 (patch) | |
tree | d2fd7bf4fa4b2b9ebd6b3a2d8a1c3cee2584e2b3 | |
parent | d9722d0277c6bc4df3d985cf0b046a3704489de9 (diff) | |
download | lrexlib-b1db4e5ae44e54eb41401ebfc8609d3c30890395.tar.gz |
Makefile: fix things so rockspecs aren't distributed (a hard problem) but do have the right MD5 sums
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -22,17 +22,17 @@ check: docs: @make -C doc -rockspecs: +rockspecs: dist rm -f *.rockspec lua mkrockspecs.lua $(VERSION) `md5sum $(DISTFILE)` -dist: docs rockspecs +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" "lrexlib/luarocks/*" && mv $(DISTFILE) $(PROJECT) && cd $(PROJECT) && unzip $(DISTFILE) && mv $(PROJECT) $(PROJECT_VERSIONED) && rm -f $(DISTFILE) && zip $(DISTFILE) -r $(PROJECT_VERSIONED) && rm -rf $(PROJECT_VERSIONED) + cd .. && rm -f $(DISTFILE) && zip $(DISTFILE) -r $(PROJECT) -x "lrexlib/.git/*" "*.gitignore" "*.o" "*.a" "*.so" "*.so.*" "*.zip" "*SciTE.properties" "*scite.properties" "*.rockspec" "lrexlib/luarocks/*" && mv $(DISTFILE) $(PROJECT) && cd $(PROJECT) && unzip $(DISTFILE) && mv $(PROJECT) $(PROJECT_VERSIONED) && rm -f $(DISTFILE) && zip $(DISTFILE) -r $(PROJECT_VERSIONED) && rm -rf $(PROJECT_VERSIONED) WOGER_ARGS = package=$(PROJECT) package_name=$(PROJECT) version=$(VERSION) description="Lua binding for regex libraries" notes=release-notes dist_type="zip" github_user=rrthomas -release: dist check +release: rockspecs check agrep -d 'Release' $(VERSION) NEWS | tail -n +3 | head -n -2 > release-notes && \ git diff --exit-code && \ git tag -a -m "Release tag" rel-`echo $(VERSION) | sed -e 's/\./-/g'` && \ |