summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile28
1 files changed, 14 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index 100244a..eab77b2 100644
--- a/Makefile
+++ b/Makefile
@@ -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"