diff --git a/Makefile b/Makefile index daa31c0..6607479 100644 --- a/Makefile +++ b/Makefile @@ -194,4 +194,13 @@ clean: distclean: clean rm -Rf $(TESTDATA_DIR) +.PHONY: install +install: sparsebundlefs + install -d "$(DESTDIR)$(INSTALL_PREFIX)/bin" + install -m 755 sparsebundlefs "$(DESTDIR)$(INSTALL_PREFIX)/bin/" + +.PHONY: uninstall +uninstall: + rm -f $(DESTDIR)$(PREFIX)/bin/sparsebundlefs + endif