Also generate and install an HTML version of the manual page for project.conf
This commit is contained in:
parent
8108498e7a
commit
6443be6791
16
doc/Makefile
16
doc/Makefile
@ -1,5 +1,5 @@
|
||||
SUBDIRS = scripts
|
||||
TARGETS = configure.html
|
||||
TARGETS = configure.html project.conf.5 project.conf.html
|
||||
PREFIX = /usr/local
|
||||
DESTDIR =
|
||||
RM ?= rm -f
|
||||
@ -16,21 +16,31 @@ subdirs:
|
||||
configure.html: configure.xml
|
||||
./docbook.sh -P "$(PREFIX)" -- "configure.html"
|
||||
|
||||
project.conf.5: project.conf.xml
|
||||
./docbook.sh -P "$(PREFIX)" -- "project.conf.5"
|
||||
|
||||
project.conf.html: project.conf.xml
|
||||
./docbook.sh -P "$(PREFIX)" -- "project.conf.html"
|
||||
|
||||
clean:
|
||||
@for i in $(SUBDIRS); do (cd $$i && $(MAKE) clean) || exit; done
|
||||
$(RM) -- $(configure.html_OBJS)
|
||||
$(RM) -- $(configure.html_OBJS) $(project.conf.5_OBJS) $(project.conf.html_OBJS)
|
||||
|
||||
distclean:
|
||||
@for i in $(SUBDIRS); do (cd $$i && $(MAKE) distclean) || exit; done
|
||||
$(RM) -- $(configure.html_OBJS)
|
||||
$(RM) -- $(configure.html_OBJS) $(project.conf.5_OBJS) $(project.conf.html_OBJS)
|
||||
$(RM) -- $(TARGETS)
|
||||
|
||||
install: $(TARGETS)
|
||||
@for i in $(SUBDIRS); do (cd $$i && $(MAKE) install) || exit; done
|
||||
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "configure.html"
|
||||
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "project.conf.5"
|
||||
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "project.conf.html"
|
||||
|
||||
uninstall:
|
||||
@for i in $(SUBDIRS); do (cd $$i && $(MAKE) uninstall) || exit; done
|
||||
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "configure.html"
|
||||
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "project.conf.5"
|
||||
./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "project.conf.html"
|
||||
|
||||
.PHONY: all subdirs clean distclean install uninstall
|
||||
|
@ -1,5 +1,5 @@
|
||||
subdirs=scripts
|
||||
targets=configure.html,project.conf.5
|
||||
targets=configure.html,project.conf.5,project.conf.html
|
||||
dist=Makefile,docbook.sh,configure.xml,project.conf.xml
|
||||
|
||||
[configure.html]
|
||||
@ -13,3 +13,9 @@ type=script
|
||||
script=./docbook.sh
|
||||
install=
|
||||
depends=project.conf.xml
|
||||
|
||||
[project.conf.html]
|
||||
type=script
|
||||
script=./docbook.sh
|
||||
install=
|
||||
depends=project.conf.xml
|
||||
|
Loading…
Reference in New Issue
Block a user