Makefile: correct target name for manpage
There is no html file being created ever, so trying to rebuild this target would repeatedly build it from scratch, whether it existed or was up to date or not. Plus it simply makes no sense to ask `make` for a .html file in order to get a .1 file. While we are at it, add a source dependency to rebuild the manpage on updates to the asciidoc source, thus ensuring the newly corrected target name works as intended.
This commit is contained in:
parent
ae0998586c
commit
9c03fa9c10
|
|
@ -12,10 +12,10 @@ endif
|
|||
|
||||
.PHONY: install
|
||||
|
||||
doc/qutebrowser.1.html:
|
||||
a2x -f manpage doc/qutebrowser.1.asciidoc
|
||||
doc/qutebrowser.1: doc/qutebrowser.1.asciidoc
|
||||
a2x -f manpage $<
|
||||
|
||||
install: doc/qutebrowser.1.html
|
||||
install: doc/qutebrowser.1
|
||||
$(PYTHON) setup.py install --prefix="$(PREFIX)" --optimize=1 $(SETUPTOOLSOPTS)
|
||||
install -Dm644 misc/org.qutebrowser.qutebrowser.appdata.xml \
|
||||
"$(DESTDIR)$(DATADIR)/metainfo/org.qutebrowser.qutebrowser.appdata.xml"
|
||||
|
|
|
|||
Loading…
Reference in New Issue