1. Greg Ward
  2. vcprompt


Greg Ward  committed e0b3c95

Include configure script in source tarball.
- add "make dist" target and dist/ directory
- update release process

  • Participants
  • Parent commits e09324f
  • Branches default
  • Tags 1.2

Comments (0)

Files changed (3)

File .hgignore

View file

File Makefile.in

View file
 	install -d $(BINDIR) $(MANDIR)
 	install vcprompt $(BINDIR)
 	install vcprompt.1 $(MANDIR)
+.PHONY: dist
+dist: configure
+	[ "$$ver" ] || (echo "\$$ver not set" >&2; exit 1)
+	hg archive -r $$ver -t files -X ".hg*" dist/vcprompt-$$ver
+	install -m 0755 configure dist/vcprompt-$$ver/configure
+	(cd dist && tar -czf vcprompt-$$ver.tar.gz vcprompt-$$ver)
+	rm -rf dist/vcprompt-$$ver

File release.txt

View file
 * tag the release and build the source tarball
     hg tag $ver
-    hg archive -r $ver -t tgz -X ".hg*" /tmp/vcprompt-$ver.tar.gz
+    make dist ver=$ver
 * test the tarball locally
+    cp dist/vcprompt-$ver.tar.gz /tmp
     cd /tmp
     tar -xzf vcprompt-$ver.tar.gz
     cd vcprompt-$ver
+    ./configure
     make grind
 * copy to at least one different machine and test there