mirror of
https://github.com/torarnv/sparsebundlefs.git
synced 2026-02-26 18:35:50 +01:00
Add install and uninstall rules to Makefile
This commit is contained in:
9
Makefile
9
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
|
||||
|
||||
Reference in New Issue
Block a user