Misc #262: Allow `make install` w/o docs
Allow `make install` w/o documentations, as `make MANPAGES= install`. (#262)
This commit is contained in:
parent
23d1dd1c0e
commit
64b4fe2c72
2
Makefile
2
Makefile
|
@ -152,7 +152,9 @@ docs: $(MANPAGES) $(MANPAGES_HTML)
|
|||
install: $(BINS) docs
|
||||
@install -d "$(DESTDIR)$(BINDIR)" "$(DESTDIR)$(MANDIR)" "$(DESTDIR)$(APPDIR)"
|
||||
@install -m755 $(BINS) "$(DESTDIR)$(BINDIR)"/
|
||||
ifneq "$(MANPAGES)" ""
|
||||
@install -m644 $(MANPAGES) "$(DESTDIR)$(MANDIR)"/
|
||||
endif
|
||||
@install -m644 compton.desktop "$(DESTDIR)$(APPDIR)"/
|
||||
ifneq "$(DOCDIR)" ""
|
||||
@install -d "$(DESTDIR)$(DOCDIR)"
|
||||
|
|
Loading…
Reference in New Issue