lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 28 Jun 2012 11:06:26 +0200 From: Michal Marek <mmarek@...e.cz> To: Sebastian Andrzej Siewior <sebastian@...akpoint.cc> Cc: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org, Richard Weinberger <richard@....at> Subject: Re: [PATCH] kbuild: add a rule to just create one file for kernel doc On 26.6.2012 19:40, Sebastian Andrzej Siewior wrote: > If you are chaning the file and you want to verify that it looks good it > is helpfull to just re-run for the single file instead of running the > complete htmldocs target. > > With this patch one can run > | make drivers/mtd/ubi/wl.html > and create the output just for this file. Sounds useful. > diff --git a/scripts/Makefile.build b/scripts/Makefile.build > index ff1720d..75a1823 100644 > --- a/scripts/Makefile.build > +++ b/scripts/Makefile.build > @@ -209,6 +209,12 @@ cmd_cc_i_c = $(CPP) $(c_flags) -o $@ $< > $(obj)/%.i: $(src)/%.c FORCE > $(call if_changed_dep,cc_i_c) > > +quiet_cmd_doc_html_c = HTML $@ > +cmd_doc_html_c = $(srctree)/scripts/kernel-doc -html $< > $@ > + > +$(obj)/%.html: $(src)/%.c FORCE > + $(call if_changed,doc_html_c) > + Could you add this rule to Documentation/DocBook/Makefile instead, so that scripts/Makefile.build is not needlessly polluted with stuff not related to compiling and linking? Thanks! Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists