parent
f79de85d43
commit
d6ca2d7921
6
Makefile
6
Makefile
@ -4,6 +4,7 @@ BINDIR=$(CURDIR)/bin
|
|||||||
PREFIX=/usr
|
PREFIX=/usr
|
||||||
DESTDIR=bin
|
DESTDIR=bin
|
||||||
BUILDDIR=$(CURDIR)/build
|
BUILDDIR=$(CURDIR)/build
|
||||||
|
MANDIR=$(PREFIX)/share/man/man1
|
||||||
|
|
||||||
DEBBUILDDIR=$(BUILDDIR)/deb
|
DEBBUILDDIR=$(BUILDDIR)/deb
|
||||||
DEBTMPLDIR=$(CURDIR)/packaging/debian
|
DEBTMPLDIR=$(CURDIR)/packaging/debian
|
||||||
@ -50,8 +51,11 @@ build:
|
|||||||
clean: deb-clean rpm-clean
|
clean: deb-clean rpm-clean
|
||||||
$(Q) $(RM) $(EXE)
|
$(Q) $(RM) $(EXE)
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
install -p -D -m 0644 lume.1 $(DESTDIR)$(MANDIR)/lume.1
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install:
|
install: install-man
|
||||||
$(Q) install -p -D -m 0755 $(EXE) $(DESTDIR)${PREFIX}/bin/lume
|
$(Q) install -p -D -m 0755 $(EXE) $(DESTDIR)${PREFIX}/bin/lume
|
||||||
$(Q) install -p -D -m 0644 .lumerc.sample $(DESTDIR)${PREFIX}/share/lume/lumerc
|
$(Q) install -p -D -m 0644 .lumerc.sample $(DESTDIR)${PREFIX}/share/lume/lumerc
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user