Revision 96b9071c Makefile.am
b/Makefile.am | ||
---|---|---|
16 | 16 |
CHECK_PYTHON_CODE = $(top_srcdir)/autotools/check-python-code |
17 | 17 |
CHECK_MAN = $(top_srcdir)/autotools/check-man |
18 | 18 |
REPLACE_VARS_SED = autotools/replace_vars.sed |
19 |
REPLACE_VARS_MAN = autotools/replace_vars.man |
|
20 | 19 |
|
21 | 20 |
hypervisordir = $(pkgpythondir)/hypervisor |
22 | 21 |
httpdir = $(pkgpythondir)/http |
... | ... | |
58 | 57 |
rm -rf doc/api doc/html |
59 | 58 |
|
60 | 59 |
CLEANFILES = \ |
61 |
$(REPLACE_VARS_SED) \ |
|
62 |
$(REPLACE_VARS_MAN) \ |
|
60 |
autotools/replace_vars.sed \ |
|
63 | 61 |
daemons/daemon-util \ |
64 | 62 |
daemons/ganeti-cleaner \ |
65 | 63 |
devel/upload \ |
... | ... | |
404 | 402 |
{ echo 'docbook2html' not found during configure; exit 1; } |
405 | 403 |
$(DOCBOOK_WRAPPER) "$(DOCBOOK2HTML) --nochunks" $< $(notdir $(@:.in=)) $@ |
406 | 404 |
|
407 |
man/%.7: man/%.7.in $(REPLACE_VARS_MAN)
|
|
408 |
sed -f $(REPLACE_VARS_MAN) < $< > $@
|
|
405 |
man/%.7: man/%.7.in $(REPLACE_VARS_SED)
|
|
406 |
sed -f $(REPLACE_VARS_SED) < $< > $@
|
|
409 | 407 |
$(CHECK_MAN) $@ |
410 | 408 |
|
411 |
man/%.8: man/%.8.in $(REPLACE_VARS_MAN)
|
|
412 |
sed -f $(REPLACE_VARS_MAN) < $< > $@
|
|
409 |
man/%.8: man/%.8.in $(REPLACE_VARS_SED)
|
|
410 |
sed -f $(REPLACE_VARS_SED) < $< > $@
|
|
413 | 411 |
$(CHECK_MAN) $@ |
414 | 412 |
|
415 | 413 |
man/%.html: man/%.html.in $(REPLACE_VARS_SED) |
... | ... | |
474 | 472 |
echo 's#@PKGLIBDIR@#$(pkglibdir)#g'; \ |
475 | 473 |
} > $@ |
476 | 474 |
|
477 |
$(REPLACE_VARS_MAN): $(REPLACE_VARS_SED) |
|
478 |
sed -e 's^/^\0\\\\:^g' < $^ >$@ |
|
479 |
|
|
480 | 475 |
# We need to create symlinks because "make distcheck" will not install Python |
481 | 476 |
# files when building. |
482 | 477 |
stamp-srclinks: Makefile stamp-directories |
Also available in: Unified diff