Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 244966 | Differences between
and this patch

Collapse All | Expand All

(-)preload-0.6.3/src/Makefile.am (-17 / +5 lines)
Lines 54-76 MAINTAINERCLEANFILES = preload.8 Link Here
54
54
55
dist_man_MANS = preload.8
55
dist_man_MANS = preload.8
56
56
57
$(srcdir)/preload.8: cmdline.c ../configure.ac preload.8.i
57
preload.8: preload preload.8.i
58
	$(MAKE) $(AM_MAKEFLAGS) preload
58
	-$(HELP2MAN) \
59
	@echo "Creating $@ using help2man(1)"
59
	            --no-info --section=8 --include=preload.8.i \
60
	@$(top_builddir)/missing --run \
60
	   	    --help-option="-H" --output="$@" \
61
	   help2man --no-info --section=8 --include=preload.8.i \
61
		    --name 'Adaptive readahead daemon' ./$^
62
	   	    --help-option="-H" --output="$@.tmp" \
63
		    --name 'Adaptive readahead daemon' ./preload \
64
	 && mv "$@.tmp" "$@" \
65
	  || ($(RM) "$@"; \
66
	      echo Failed to update preload.8, the man page may be outdated >&2; \
67
	      (test -f "$@" || echo help2man is required to generate this file. >> "$@"));
68
69
install-data-hook:
70
	@cd "$(DESTDIR)$(man8dir)" && gzip -c preload.8 > preload.8.gz && $(RM) preload.8
71
72
uninstall-hook:
73
	$(RM) "$(DESTDIR)$(man8dir)/preload.8.gz"
74
62
75
######################################################################
63
######################################################################
76
64

Return to bug 244966