From 3e20adb109192925b21792bac2c47fa7b1d41ef2 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Thu, 21 Jan 2016 14:48:12 -0500 Subject: [PATCH] remove clone test tool --- Makefile | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index 5a31ddd7..5d0c9b16 100644 --- a/Makefile +++ b/Makefile @@ -99,7 +99,7 @@ $(warning "xattr not available: disabling") CFLAGS += -DWITHOUT_XATTR endif -all: $(TARGET) clone +all: $(TARGET) help: @echo "usage: make" @@ -108,9 +108,6 @@ help: $(TARGET): src/version.hpp obj/obj-stamp $(OBJ) $(CXX) $(CFLAGS) $(OBJ) -o $@ $(LDFLAGS) -clone: $(TARGET) - $(LN) -fs "$<" "$@" - mount.mergerfs: $(TARGET) $(LN) -fs "$<" "$@" @@ -137,21 +134,17 @@ obj/%.o: src/%.cpp clean: rpm-clean $(RM) -rf obj $(RM) -f src/version.hpp - $(RM) -f "$(TARGET)" "$(MANPAGE)" clone + $(RM) -f "$(TARGET)" "$(MANPAGE)" mount.mergerfs $(FIND) . -name "*~" -delete distclean: clean $(GIT) clean -fd -install: install-base install-clone install-mount.mergerfs install-man +install: install-base install-mount.mergerfs install-man install-base: $(TARGET) $(INSTALL) -v -m 0755 -D "$(TARGET)" "$(INSTALLBINDIR)/$(TARGET)" -install-clone: clone - $(MKDIR) -p "$(INSTALLBINDIR)" - $(CP) -a "$<" "$(INSTALLBINDIR)/$<" - install-mount.mergerfs: mount.mergerfs $(MKDIR) -p "$(INSTALLBINDIR)" $(CP) -a "$<" "$(INSTALLBINDIR)/$<" @@ -162,13 +155,13 @@ install-man: $(MANPAGE) install-strip: install-base $(STRIP) "$(INSTALLBINDIR)/$(TARGET)" -uninstall: uninstall-base uninstall-clone uninstall-man +uninstall: uninstall-base uninstall-mount.mergerfs uninstall-man uninstall-base: $(RM) -f "$(INSTALLBINDIR)/$(TARGET)" -uninstall-clone: - $(RM) -f "$(INSTALLBINDIR)/clone" +uninstall-mount.mergerfs: + $(RM) -f "$(INSTALLBINDIR)/mount.mergerfs" uninstall-man: $(RM) -f "$(INSTALLMAN1DIR)/$(MANPAGE)"