mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-01-20 02:32:45 +08:00
create mount.mergerfs symlink. closes #149
This commit is contained in:
parent
3ccc94a560
commit
5a76c41236
14
Makefile
14
Makefile
|
@ -116,10 +116,13 @@ $(TARGET): src/version.hpp obj/obj-stamp $(OBJ)
|
|||
$(CXX) $(CFLAGS) $(OBJ) -o $@ $(LDFLAGS)
|
||||
|
||||
clone: $(TARGET)
|
||||
$(LN) -s $< $@
|
||||
$(LN) -fs "$<" "$@"
|
||||
|
||||
fsck.mergerfs: tools/fsck.mergerfs
|
||||
|
||||
mount.mergerfs: $(TARGET)
|
||||
$(LN) -fs "$<" "$@"
|
||||
|
||||
changelog:
|
||||
$(GIT2DEBCL) --name $(TARGET) > ChangeLog
|
||||
|
||||
|
@ -149,13 +152,18 @@ clean: rpm-clean
|
|||
distclean: clean
|
||||
$(GIT) clean -fd
|
||||
|
||||
install: install-base install-clone install-tools install-man
|
||||
install: install-base install-clone install-mount.mergerfs install-tools install-man
|
||||
|
||||
install-base: $(TARGET)
|
||||
$(INSTALL) -v -m 0755 -D "$(TARGET)" "$(INSTALLBINDIR)/$(TARGET)"
|
||||
|
||||
install-clone: clone
|
||||
$(CP) -a $< "$(INSTALLBINDIR)/$<"
|
||||
$(MKDIR) -p "$(INSTALLBINDIR)"
|
||||
$(CP) -a "$<" "$(INSTALLBINDIR)/$<"
|
||||
|
||||
install-mount.mergerfs: mount.mergerfs
|
||||
$(MKDIR) -p "$(INSTALLBINDIR)"
|
||||
$(CP) -a "$<" "$(INSTALLBINDIR)/$<"
|
||||
|
||||
install-tools: fsck.mergerfs
|
||||
$(INSTALL) -v -m 0755 -D "tools/$<" "$(INSTALLSBINDIR)/$<"
|
||||
|
|
2
debian/rules
vendored
2
debian/rules
vendored
|
@ -8,4 +8,4 @@
|
|||
dh $@
|
||||
|
||||
override_dh_auto_install:
|
||||
$(MAKE) PREFIX=$(CURDIR)/debian/mergerfs/usr install
|
||||
$(MAKE) DESTDIR=$(CURDIR)/debian/mergerfs PREFIX=/usr install
|
||||
|
|
Loading…
Reference in New Issue
Block a user