aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 215ec63..f799ed7 100644
--- a/Makefile
+++ b/Makefile
@@ -10,3 +10,11 @@ test: all
clean:
$(MAKE) -C src clean
+
+install: all
+ mkdir -p ${DESTDIR}${PREFIX}/bin
+ cp -f src/diff-dd ${DESTDIR}${PREFIX}/bin
+ chmod 755 ${DESTDIR}${PREFIX}/bin/diff-dd
+
+uninstall:
+ rm -f ${DESTDIR}${PREFIX}/bin/diff-dd