aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <ryanakca@kubuntu.org>2011-08-18 08:30:19 -0400
committerRyan Kavanagh <ryanakca@kubuntu.org>2011-08-25 07:43:06 -0400
commitd9ceb9050df1004a6920d7ff36bbd96e5f52ef02 (patch)
treeea62a7c5e66de299a817280316554326b88d21af
parentDifferent locales on different systems, handle (diff)
Added merge target
Diffstat (limited to '')
-rw-r--r--.gitignore1
-rwxr-xr-xdm9
2 files changed, 9 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 798757d..a60e307 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,4 +2,5 @@
.*.swp
build
SUBSTS.local
+SUBSTS.merged
.mutt/alias.rc
diff --git a/dm b/dm
index f9b8251..78d09ec 100755
--- a/dm
+++ b/dm
@@ -108,6 +108,13 @@ sha256sums.asc: sha256sums
rm -f $@
gpg --armor --detach-sign $<
+merge: SUBSTS $(SUBSTS_FILE)
+ # sdiff has exit status 1 if files are different. Ignore
+ - sdiff -o SUBSTS.merged $^
+ @echo ""
+ @echo "Please review SUBSTS.merged, then run"
+ @echo "mv SUBSTS.merged $(SUBSTS_FILE)"
+
verify:
# BSD sha256 sum command doesn't have a -c option.
# BSD and coreutils sha256 commands have different outputs, however, the
@@ -153,4 +160,4 @@ verify:
clean:
rm -fr build
-.PHONY: build install clean verify
+.PHONY: build install clean verify merge