mirror of
https://github.com/tiffany352/rink-rs
synced 2024-11-10 05:34:14 +00:00
Split the make install
rule (#170)
This commit is contained in:
parent
980fa25ba0
commit
2bb9122767
2 changed files with 12 additions and 5 deletions
14
Makefile
14
Makefile
|
@ -49,13 +49,19 @@ htmldoc:
|
|||
$(ASCIIDOCTOR) $(HTMLFLAGS) $(srcdir)/docs/rink-defs.5.adoc
|
||||
$(ASCIIDOCTOR) $(HTMLFLAGS) $(srcdir)/docs/rink-dates.5.adoc
|
||||
|
||||
install: all
|
||||
installbin:
|
||||
$(INSTALL) -Dm 0755 target/release/rink -t $(bindir)
|
||||
$(INSTALL) -Dm 0644 $(srcdir)/core/definitions.units -t $(datadir)/rink
|
||||
$(INSTALL) -Dm 0644 $(srcdir)/core/datepatterns.txt -t $(datadir)/rink
|
||||
$(INSTALL) -Dm 0644 $(srcdir)/core/currency.units -t $(datadir)/rink
|
||||
|
||||
installman:
|
||||
$(INSTALL) -Dm 0644 build/rink.1 -t $(man1dir)
|
||||
$(INSTALL) -Dm 0644 build/rink.5 -t $(man5dir)
|
||||
$(INSTALL) -Dm 0644 build/rink.7 -t $(man7dir)
|
||||
$(INSTALL) -Dm 0644 build/rink-defs.5 -t $(man5dir)
|
||||
$(INSTALL) -Dm 0644 build/rink-dates.5 -t $(man5dir)
|
||||
|
||||
installfiles:
|
||||
$(INSTALL) -Dm 0644 $(srcdir)/core/definitions.units -t $(datadir)/rink
|
||||
$(INSTALL) -Dm 0644 $(srcdir)/core/datepatterns.txt -t $(datadir)/rink
|
||||
$(INSTALL) -Dm 0644 $(srcdir)/core/currency.units -t $(datadir)/rink
|
||||
|
||||
install: installbin installman installfiles
|
||||
|
|
|
@ -36,7 +36,8 @@ generally be `/usr`. `DESTDIR` is where the files will be copied to upon
|
|||
running `make install`.
|
||||
|
||||
`make man` can be used to build just the manpages if desired. They're
|
||||
placed into the `build/` directory.
|
||||
placed into the `build/` directory. Similarly, `make installman` will
|
||||
install just the manpages.
|
||||
|
||||
The makefile doesn't automatically install the .desktop file, see below.
|
||||
|
||||
|
|
Loading…
Reference in a new issue