mirror of
https://github.com/tiffany352/rink-rs
synced 2024-11-10 05:34:14 +00:00
fix broken make install
This commit is contained in:
parent
9d5cb59bbc
commit
6e674f07f8
1 changed files with 10 additions and 10 deletions
20
Makefile
20
Makefile
|
@ -8,7 +8,7 @@ CHECKFLAGS := $(CARGOFLAGS)
|
|||
ASCIIDOCTOR := asciidoctor
|
||||
MANFLAGS := -b manpage -D build
|
||||
HTMLFLAGS := -D build -a toc=left -a toclevels=3 -a sectlinks
|
||||
INSTALL := install
|
||||
INSTALL := install -D
|
||||
|
||||
prefix := /usr/local
|
||||
DESTDIR := $(prefix)
|
||||
|
@ -50,18 +50,18 @@ htmldoc:
|
|||
$(ASCIIDOCTOR) $(HTMLFLAGS) $(srcdir)/docs/rink-dates.5.adoc
|
||||
|
||||
installbin:
|
||||
$(INSTALL) -Dm 0755 target/release/rink $(bindir)
|
||||
$(INSTALL) -m 0755 target/release/rink $(bindir)/rink
|
||||
|
||||
installman:
|
||||
$(INSTALL) -Dm 0644 build/rink.1 $(man1dir)
|
||||
$(INSTALL) -Dm 0644 build/rink.5 $(man5dir)
|
||||
$(INSTALL) -Dm 0644 build/rink.7 $(man7dir)
|
||||
$(INSTALL) -Dm 0644 build/rink-defs.5 $(man5dir)
|
||||
$(INSTALL) -Dm 0644 build/rink-dates.5 $(man5dir)
|
||||
$(INSTALL) -m 0644 build/rink.1 $(man1dir)/rink.1
|
||||
$(INSTALL) -m 0644 build/rink.5 $(man5dir)/rink.5
|
||||
$(INSTALL) -m 0644 build/rink.7 $(man7dir)/rink.7
|
||||
$(INSTALL) -m 0644 build/rink-defs.5 $(man5dir)/rink-defs.5
|
||||
$(INSTALL) -m 0644 build/rink-dates.5 $(man5dir)/rink-dates.5
|
||||
|
||||
installfiles:
|
||||
$(INSTALL) -Dm 0644 $(srcdir)/core/definitions.units $(datadir)/rink
|
||||
$(INSTALL) -Dm 0644 $(srcdir)/core/datepatterns.txt $(datadir)/rink
|
||||
$(INSTALL) -Dm 0644 $(srcdir)/core/currency.units $(datadir)/rink
|
||||
$(INSTALL) -m 0644 $(srcdir)/core/definitions.units $(datadir)/rink/definitions.units
|
||||
$(INSTALL) -m 0644 $(srcdir)/core/datepatterns.txt $(datadir)/rink/datepatterns.txt
|
||||
$(INSTALL) -m 0644 $(srcdir)/core/currency.units $(datadir)/rink/currency.units
|
||||
|
||||
install: installbin installman installfiles
|
||||
|
|
Loading…
Reference in a new issue