aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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