mirror of
https://github.com/tildeclub/launcher.git
synced 2026-01-24 03:10:17 +00:00
init forked from https://tildegit.org/team/tilde-launcher
This commit is contained in:
23
Makefile
Normal file
23
Makefile
Normal file
@@ -0,0 +1,23 @@
|
||||
BASENAME ?= envs
|
||||
PREFIX ?= /usr/local
|
||||
BINDIR ?= $(PREFIX)/bin
|
||||
MANDIR ?= $(PREFIX)/share/man
|
||||
|
||||
install:
|
||||
@echo Installing the executable to $(BINDIR)
|
||||
@mkdir -p $(BINDIR)
|
||||
@cp -f $(BASENAME) $(BINDIR)/$(BASENAME)
|
||||
@chmod 755 $(BINDIR)/$(BASENAME)
|
||||
@echo Installing the manual page to $(MANDIR)/man1
|
||||
@mkdir -p $(MANDIR)/man1
|
||||
@cp -f $(BASENAME).1 $(MANDIR)/man1/$(BASENAME).1
|
||||
@chmod 644 $(MANDIR)/man1/$(BASENAME).1
|
||||
|
||||
uninstall:
|
||||
@echo Removing the executable from $(BINDIR)
|
||||
@rm -f $(BINDIR)/$(BASENAME)
|
||||
@echo Removing the manual page from $(MANDIR)/man1
|
||||
@rm -f $(BINDIR)/man1/$(BASENAME).1
|
||||
|
||||
.PHONY: install uninstall
|
||||
|
||||
Reference in New Issue
Block a user