mirror of
https://tildegit.org/tomasino/pb.git
synced 2024-12-23 03:25:18 +01:00
Merge branch 'fix-makefile-1' of paper/pb into master
This commit is contained in:
commit
2a8915fc3f
12
Makefile
12
Makefile
@ -19,14 +19,10 @@ endif
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
@echo Installing the executable to $(BINDIR)
|
@echo Installing the executable to $(BINDIR)
|
||||||
@mkdir -p $(BINDIR)
|
@install -D -m 0755 pb $(BINDIR)/pb
|
||||||
@cp -f pb $(BINDIR)/pb
|
|
||||||
@chmod 755 $(BINDIR)/pb
|
|
||||||
@echo Installing the manual page to $(MANDIR)/man1
|
@echo Installing the manual page to $(MANDIR)/man1
|
||||||
@mkdir -p $(MANDIR)/man1
|
@install -D -m 0644 pb.1 $(MANDIR)/man1/pb.1
|
||||||
@cp -f pb.1 $(MANDIR)/man1/pb.1
|
ifeq ($(CPLDIR),)
|
||||||
@chmod 644 $(MANDIR)/man1/pb.1
|
|
||||||
ifdef CPLDIR
|
|
||||||
@echo Installing the command completion to $(CPLDIR)
|
@echo Installing the command completion to $(CPLDIR)
|
||||||
@mkdir -p $(CPLDIR)
|
@mkdir -p $(CPLDIR)
|
||||||
@cp -f pb.d $(CPLDIR)/pb
|
@cp -f pb.d $(CPLDIR)/pb
|
||||||
@ -38,7 +34,7 @@ uninstall:
|
|||||||
@rm -f $(BINDIR)/pb
|
@rm -f $(BINDIR)/pb
|
||||||
@echo Removing the manual page from $(MANDIR)/man1
|
@echo Removing the manual page from $(MANDIR)/man1
|
||||||
@rm -f $(BINDIR)/man1/pb.1
|
@rm -f $(BINDIR)/man1/pb.1
|
||||||
ifdef CPLDIR
|
ifeq ($(CPLDIR),)
|
||||||
@echo Removing the command completion from $(CPLDIR)
|
@echo Removing the command completion from $(CPLDIR)
|
||||||
@rm -f $(CPLDIR)/pb
|
@rm -f $(CPLDIR)/pb
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user