mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
remove leading/tailing "/" from installation RELPATHs
This commit is contained in:
parent
1ca235e58f
commit
9cf2cd7ca9
8 changed files with 45 additions and 47 deletions
|
@ -37,15 +37,15 @@ clean:
|
|||
install: all
|
||||
ifneq (,$(INSTALLTOOLS))
|
||||
$(info [@] Installing $(BINS) to $(DESTDIR)$(PREFIX)...)
|
||||
$(Q)$(MKDIR) $(DESTDIR)$(PREFIX)$(INSTALLTOOLSRELPATH)
|
||||
$(Q)$(CP) $(INSTALLTOOLS) $(DESTDIR)$(PREFIX)$(INSTALLTOOLSRELPATH)
|
||||
$(Q)$(MKDIR) $(DESTDIR)$(PREFIX)$(PATHSEP)$(INSTALLTOOLSRELPATH)
|
||||
$(Q)$(CP) $(INSTALLTOOLS) $(DESTDIR)$(PREFIX)$(PATHSEP)$(INSTALLTOOLSRELPATH)
|
||||
endif
|
||||
@true
|
||||
|
||||
uninstall:
|
||||
ifneq (,$(INSTALLTOOLS))
|
||||
$(info [@] Uninstalling $(BINS) from $(DESTDIR)$(PREFIX)...)
|
||||
$(Q)$(RM) $(foreach tool,$(INSTALLTOOLS),$(DESTDIR)$(PREFIX)$(INSTALLTOOLSRELPATH)$(notdir $(tool)))
|
||||
$(Q)$(RM) $(foreach tool,$(INSTALLTOOLS),$(DESTDIR)$(PREFIX)$(PATHSEP)$(INSTALLTOOLSRELPATH)$(PATHSEP)$(notdir $(tool)))
|
||||
endif
|
||||
@true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue