aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.txt3
-rw-r--r--Makefile.in13
2 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 953fb82..7ffb74a 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,6 +1,9 @@
2011-06-06:
* (seebs) revise system() handler substantially. It now
pollutes the environment but works.
+ * (seebs) Call it "1.1.1" so the nice folks doing Yocto
+ can have an official branch and not need to use git.
+ * (seebs) add "tarball" make target.
2011-06-02:
* (seebs) intercept system() so the pseudo environment is
diff --git a/Makefile.in b/Makefile.in
index 676b303..fc10c10 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -168,3 +168,16 @@ distclean: clean
nuke: distclean
case "$(PREFIX)" in "`pwd`"/*) rm -rf "$(PREFIX)";; esac
@echo "WARNING: Removed $(PREFIX)."
+
+tarball:
+ @test -d .git || ( echo >&2 "Tarball can only be made from git tree."; exit 1)
+ rm -rf pseudo-$(VERSION)
+ mkdir -p pseudo-$(VERSION)
+ ( parent=$(PWD); \
+ cd pseudo-$(VERSION) && \
+ git clone $$parent && \
+ mv pseudo/* . && \
+ rm -rf pseudo/.git* && \
+ rmdir pseudo \
+ )
+ tar czf pseudo-$(VERSION).tgz pseudo-$(VERSION)