try to keep html_targets and man_targets up-to-date as automatically
as possible
This commit is contained in:
parent
663896f325
commit
a264b821eb
1 changed files with 10 additions and 6 deletions
|
@ -42,6 +42,7 @@ uninstall-local: $(uninstall_html) $(uninstall_man)
|
|||
|
||||
html/%.html: $(SGML)
|
||||
{ $(DOCBOOK2HTML) -o html $(srcdir)/comedilib.sgml && touch html; } || { $(RM) -r html; exit 1; }
|
||||
$(MAKE) html_targets
|
||||
|
||||
install_html:
|
||||
$(INSTALL) -d $(pkgdatadir)/html
|
||||
|
@ -52,11 +53,9 @@ uninstall_html:
|
|||
for each in $(srcdir)/html/*.html $(srcdir)/*.gif ; do \
|
||||
$(RM) $(pkgdatadir)/html/`basename $$each` ; done
|
||||
|
||||
html_targets:
|
||||
ls html/*.html > html_targets
|
||||
|
||||
man/%: $(SGML)
|
||||
{ $(DOCBOOK2MAN) -o man $(srcdir)/comedilib.sgml && touch man; } || { $(RM) -r man; exit 1; }
|
||||
$(MAKE) man_targets
|
||||
|
||||
install_man:
|
||||
$(INSTALL) -d $(mandir)/man3
|
||||
|
@ -65,9 +64,6 @@ install_man:
|
|||
uninstall_man:
|
||||
for each in $(srcdir)/man/*.3 ; do $(RM) $(mandir)/man3/`basename $$each` ; done
|
||||
|
||||
man_targets:
|
||||
ls man/*.3 > man_targets
|
||||
|
||||
comedilib.pdf: $(SGML)
|
||||
$(DOCBOOK2PDF) $(srcdir)/comedilib.sgml
|
||||
|
||||
|
@ -81,6 +77,14 @@ maintainer-clean-local:
|
|||
$(RM) -r html man
|
||||
$(RM) comedilib.pdf
|
||||
|
||||
.PHONY: html_targets man_targets
|
||||
|
||||
html_targets:
|
||||
ls html/*.html > html_targets
|
||||
|
||||
man_targets:
|
||||
ls man/*.3 > man_targets
|
||||
|
||||
locales = de
|
||||
|
||||
messages: .phony
|
||||
|
|
Loading…
Add table
Reference in a new issue