Ticket #35730: patch-man-Makefile.in.diff
File patch-man-Makefile.in.diff, 1.1 KB (added by ajdudman, 12 years ago) |
---|
-
man/Makefile.in
old new 77 77 TARGETS = $(MAN5G) $(MAN1G) $(MAN3G) $(MAN8G) 78 78 OTHERCLEANTARGETS=$(TARGETS) default_store.3.h $(MANALIASES) manaliases 79 79 80 all: $(TARGETS)standardall manaliases80 all: targets standardall manaliases 81 81 82 manaliases: Makefile 83 touch manaliases 82 .PHONY: targets 83 targets: $(TARGETS) 84 85 ../sedscript: 86 cd .. & $(MAKE) sedscript 87 88 manaliases: targets 84 89 @for i in $(MAN3_API) ; do \ 85 90 for j in `sed -n '/^.SH NAME/,/^.SH SYNOPSIS/p' $$i | sed -e 's/.- .*//' | sed 's/,.*//' | @EGREP@ -v '^.SH ' `; do \ 86 91 echo "making man page alias $$j -> $$i APIs" ; \ 87 92 echo ".so man3/$$i" > $$j.3 ; \ 88 93 done \ 89 94 done 95 touch manaliases 90 96 91 97 agentxtrap.1: $(srcdir)/agentxtrap.1.def ../sedscript 92 98 $(SED) -f ../sedscript < $(srcdir)/agentxtrap.1.def > agentxtrap.1 … … 274 280 # fi ; \ 275 281 done ;\ 276 282 $(PERL) make_index.pl man_sections.txt $$a > index.html 283 284 285 install: $(OTHERINSTALL) 286 uninstall: $(OTHERUNINSTALL) 287