diff options
| author | Jan Sucan <jan@jansucan.com> | 2024-02-02 16:19:19 +0100 |
|---|---|---|
| committer | Ján Sučan <jan@jansucan.com> | 2024-02-02 16:38:53 +0100 |
| commit | 394e79abed3b8a3675c9efb3d448f727c2db45d6 (patch) | |
| tree | 51db726cdb7922cebb641ea2b084e166c570a91b /Makefile | |
| parent | 6bef1c8b6da3404693e2aea473824a6f33cdbde6 (diff) | |
makefile: Add install and uninstall targets
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |
