Misc: Add Asciidoc man pages
Add Asciidoc man pages. The old man page is still kept, and you need to run "make docs" to generate the new man pages and a HTML version of it. An Asciidoc man page for compton-trans is not added yet.
This commit is contained in:
6
Makefile
6
Makefile
@ -52,6 +52,12 @@ OBJS = compton.o
|
||||
compton: $(OBJS)
|
||||
$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
|
||||
|
||||
docs:
|
||||
# HTML documentation
|
||||
asciidoc man/compton.1.asciidoc
|
||||
# man page
|
||||
a2x --format manpage man/compton.1.asciidoc
|
||||
|
||||
install: compton
|
||||
@install -Dm755 compton "$(DESTDIR)$(BINDIR)"/compton
|
||||
@install -Dm755 bin/compton-trans "$(DESTDIR)$(BINDIR)"/compton-trans
|
||||
|
Reference in New Issue
Block a user