Skip to content

Commit

Permalink
fix: use tabs instead of spaces in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushnix committed Nov 14, 2021
1 parent 55eed7d commit 8704837
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
28 changes: 14 additions & 14 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,27 @@ INSTALL := install
.PHONY: all man install clean uninstall

all:
$(ECHO) "$(PROG) is a shell script and doesn't need to be compiled"
$(ECHO) "To install it, enter \"make install\""
$(ECHO) "$(PROG) is a shell script and doesn't need to be compiled"
$(ECHO) "To install it, enter \"make install\""

man: man/tessen.1

man/%: man/%.scd
$(SCDOC) < $^ > $@
$(SCDOC) < $^ > $@

install: man
$(INSTALL) -Dm 0755 $(PROG) -t $(DESTDIR)$(BINDIR)
$(INSTALL) -Dm 0644 man/*.1 -t $(DESTDIR)$(MANDIR)/man1
$(INSTALL) -Dm 0644 completion/$(PROG).bash-completion $(DESTDIR)$(BASHCOMPDIR)/$(PROG)
$(INSTALL) -Dm 0644 completion/$(PROG).fish-completion $(DESTDIR)$(FISHCOMPDIR)/$(PROG).fish
$(ECHO) ""
$(ECHO) "$(PROG) has been installed succesfully"
$(INSTALL) -Dm 0755 $(PROG) -t $(DESTDIR)$(BINDIR)
$(INSTALL) -Dm 0644 man/*.1 -t $(DESTDIR)$(MANDIR)/man1
$(INSTALL) -Dm 0644 completion/$(PROG).bash-completion $(DESTDIR)$(BASHCOMPDIR)/$(PROG)
$(INSTALL) -Dm 0644 completion/$(PROG).fish-completion $(DESTDIR)$(FISHCOMPDIR)/$(PROG).fish
$(ECHO) ""
$(ECHO) "$(PROG) has been installed succesfully"

clean:
$(RM) -f man/*.1
$(RM) -f man/*.1

uninstall:
$(RM) -f "$(DESTDIR)$(BINDIR)/$(PROG)"
$(RM) -f "$(DESTDIR)$(MANDIR)/man1/$(PROG).1"
$(RM) -f "$(DESTDIR)$(BASHCOMPDIR)/$(PROG)"
$(RM) -f "$(DESTDIR)$(FISHCOMPDIR)/$(PROG).fish"
$(RM) -f "$(DESTDIR)$(BINDIR)/$(PROG)"
$(RM) -f "$(DESTDIR)$(MANDIR)/man1/$(PROG).1"
$(RM) -f "$(DESTDIR)$(BASHCOMPDIR)/$(PROG)"
$(RM) -f "$(DESTDIR)$(FISHCOMPDIR)/$(PROG).fish"
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ which you probably should.
### Stable Release

```
wget https://github.com/ayushnix/tessen/releases/download/v1.2.0/tessen-1.2.0.tar.gz
tar xvzf tessen-1.2.0.tar.gz
cd tessen-1.2.0
wget https://github.com/ayushnix/tessen/releases/download/v1.2.1/tessen-1.2.1.tar.gz
tar xvzf tessen-1.2.1.tar.gz
cd tessen-1.2.1
sudo make install
```

Expand Down
2 changes: 1 addition & 1 deletion tessen
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set +x

# GLOBAL VARIABLES
# variables which won't be changed and can be made readonly
readonly tsn_version="1.2.0"
readonly tsn_version="1.2.1"
readonly tsn_prefix="${PASSWORD_STORE_DIR:-$HOME/.password-store}"
readonly tsn_cliptime="${PASSWORD_STORE_CLIP_TIME:-15}"
readonly tsn_delay="${TESSEN_DELAY:-200}"
Expand Down

0 comments on commit 8704837

Please sign in to comment.