git.annexia.org
/
goals.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dist: Replace install-sh symlink with a copy of the file.
[goals.git]
/
Goalfile.in
diff --git
a/Goalfile.in
b/Goalfile.in
index
8f8a322
..
ca38d24
100644
(file)
--- a/
Goalfile.in
+++ b/
Goalfile.in
@@
-257,6
+257,11
@@
goal dist = "%tarfile" : {
mkdir -p "$d/$subdir"
cp -a "$f" "$d/$subdir"
done
mkdir -p "$d/$subdir"
cp -a "$f" "$d/$subdir"
done
+ # Replace $d/install-sh with a real file
+ if [ -L "$d/install-sh" ]; then
+ rm "$d/install-sh"
+ cp -L "install-sh" "$d/install-sh"
+ fi
tar zcf "$o-t" "$d"
mv "$o-t" "$o"
rm -rf "$d"
tar zcf "$o-t" "$d"
mv "$o-t" "$o"
rm -rf "$d"
@@
-277,6
+282,15
@@
goal distcheck = : dist {
#----------------------------------------------------------------------
# Maintainer rules.
#----------------------------------------------------------------------
# Maintainer rules.
+# Easy way to commit and tag a release.
+goal maintainer-commit = {
+ git commit -a -m "Version "%version"."
+}
+
+goal maintainer-tag = {
+ git tag -a v%version -m "Version "%version -f
+}
+
# Check no files are missing from distfiles above by unpacking the
# distribution tarball and comparing it to git.
goal maintainer-check-extra-dist = : dist @{
# Check no files are missing from distfiles above by unpacking the
# distribution tarball and comparing it to git.
goal maintainer-check-extra-dist = : dist @{