Makefile: fix gray.1 not being generated in all
This commit is contained in:
parent
aea31018a9
commit
d52fee084b
8
Makefile
8
Makefile
@ -95,12 +95,12 @@ clean:
|
|||||||
rm -r $(BUILDDIR)
|
rm -r $(BUILDDIR)
|
||||||
|
|
||||||
# Install libraries, binaries and documentation
|
# Install libraries, binaries and documentation
|
||||||
install: $(BINARIES) $(LIBRARIES) $(SHAREDIR)/gray.1
|
install: $(BINARIES) $(LIBRARIES) $(SHAREDIR)/doc $(SHAREDIR)/gray.1
|
||||||
install -Dm555 -t $(PREFIX)/bin $(BINDIR)/*
|
install -Dm555 -t $(PREFIX)/bin $(BINDIR)/*
|
||||||
install -Dm555 -t $(PREFIX)/lib $(LIBDIR)/*
|
install -Dm555 -t $(PREFIX)/lib $(LIBDIR)/*
|
||||||
install -Dm644 -t $(PREFIX)/share/doc $(SHAREDIR)/doc/manual.*
|
install -Dm644 -t $(PREFIX)/share/doc $(SHAREDIR)/doc/manual.*
|
||||||
install -Dm644 -t $(PREFIX)/share/doc/res $(SHAREDIR)/doc/res/*
|
install -Dm644 -t $(PREFIX)/share/doc/res $(SHAREDIR)/doc/res/*
|
||||||
install -Dm644 -t $(PREFIX)/share/man/man1 $(SHAREDIR)/*.1
|
install -Dm644 -t $(PREFIX)/share/man/man1 $(SHAREDIR)/gray.1
|
||||||
|
|
||||||
# GRAY binary
|
# GRAY binary
|
||||||
$(GRAY): $(shell ./depend $(OBJDIR)/main.o) | $(BINDIR)
|
$(GRAY): $(shell ./depend $(OBJDIR)/main.o) | $(BINDIR)
|
||||||
@ -115,7 +115,9 @@ $(LIBGRAY).a($(MODULES)): | $(LIBDIR)
|
|||||||
$(LIBGRAY).a: $(LIBGRAY).a($(MODULES))
|
$(LIBGRAY).a: $(LIBGRAY).a($(MODULES))
|
||||||
|
|
||||||
# All documentation
|
# All documentation
|
||||||
docs: | $(SHAREDIR)
|
docs: $(SHAREDIR)/gray.1 $(SHAREDIR)/doc
|
||||||
|
|
||||||
|
$(SHAREDIR)/doc: | $(SHAREDIR)
|
||||||
+make -C doc
|
+make -C doc
|
||||||
cp -r doc/build/* $(SHAREDIR)
|
cp -r doc/build/* $(SHAREDIR)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user