aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Seebach <peter.seebach@windriver.com>2011-06-06 17:16:40 -0500
committerPeter Seebach <peter.seebach@windriver.com>2011-06-06 17:16:40 -0500
commitdb012fa753988237735c3ffd38eef48cdbcfe13b (patch)
tree62f37e58fd9d882635a399116fc42a4baf9723e8
parent7e9680b24800ef7bfbe69f6763132ffe223afd30 (diff)
downloadpseudo-PSEUDO_1_1.tar.gz
pseudo-PSEUDO_1_1.tar.bz2
pseudo-PSEUDO_1_1.zip
-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)