* Re: KDBUS breaks 'make installmandocs' [not found] <20150712180846.GA32176@huvuddator> @ 2015-07-14 0:39 ` Greg KH 2015-07-14 2:00 ` Ulf Magnusson 0 siblings, 1 reply; 5+ messages in thread From: Greg KH @ 2015-07-14 0:39 UTC (permalink / raw) To: Ulf Magnusson, linux-api-u79uwXL29TY76Z2rM5mHXA Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA, daniel-cYrQPVfZoowdnm+yROfE0A, dh.herrmann-gM/Ye1E23mwN+BqQ9rBEUg, tixxdz-Umm1ozX2/EEdnm+yROfE0A On Sun, Jul 12, 2015 at 08:08:46PM +0200, Ulf Magnusson wrote: > Hello, > > Tested with next-20150709. > > Documentation/kdbus/Makefile lacks an 'installmandocs' target, causing > problems for > > %docs: scripts_basic FORCE > $(Q)$(MAKE) $(build)=scripts build_docproc > $(Q)$(MAKE) $(build)=Documentation/DocBook $@ > $(Q)$(MAKE) $(build)=Documentation/kdbus $@ > > from the top-level Makefile. It still works, but no KDBUS-related man > pages are installed, and the final error isn't reassuring. What's the final error? > Documentation/DocBook/Makefile installs man pages into section 9, while > KDBUS uses 7. I'm not familiar enough with KDBUS to know what the right > thing to do here is. I don't know either, perhaps someone on linux-api knows? thanks, greg k-h ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: KDBUS breaks 'make installmandocs' 2015-07-14 0:39 ` KDBUS breaks 'make installmandocs' Greg KH @ 2015-07-14 2:00 ` Ulf Magnusson 2015-07-14 18:24 ` Jim Davis 0 siblings, 1 reply; 5+ messages in thread From: Ulf Magnusson @ 2015-07-14 2:00 UTC (permalink / raw) To: Greg KH; +Cc: linux-api, linux-kernel, daniel, dh.herrmann, tixxdz On Mon, Jul 13, 2015 at 05:39:25PM -0700, Greg KH wrote: > On Sun, Jul 12, 2015 at 08:08:46PM +0200, Ulf Magnusson wrote: > > Hello, > > > > Tested with next-20150709. > > > > Documentation/kdbus/Makefile lacks an 'installmandocs' target, causing > > problems for > > > > %docs: scripts_basic FORCE > > $(Q)$(MAKE) $(build)=scripts build_docproc > > $(Q)$(MAKE) $(build)=Documentation/DocBook $@ > > $(Q)$(MAKE) $(build)=Documentation/kdbus $@ > > > > from the top-level Makefile. It still works, but no KDBUS-related man > > pages are installed, and the final error isn't reassuring. > > What's the final error? > $ sudo make installmandocs GEN Documentation/DocBook//v4l2.xml find Documentation/DocBook/man -name '*.9' | xargs gzip -f mkdir -p /usr/local/man/man9/ install Documentation/DocBook/man/*.9.gz /usr/local/man/man9/ make[1]: *** No rule to make target 'installmandocs'. Stop. Makefile:1359: recipe for target 'installmandocs' failed make: *** [installmandocs] Error 2 The "*** No rule to make target 'installmandocs'. Stop." error is generated for Documentation/kdbus/Makefile. The other man pages still install fine. (That "GEN Documentation/DocBook//v4l2.xml" line might be an unrelated issue. It's from the 'mandocs' prerequisite and shows up even when the pages are already built.) > > Documentation/DocBook/Makefile installs man pages into section 9, while > > KDBUS uses 7. I'm not familiar enough with KDBUS to know what the right > > thing to do here is. > > I don't know either, perhaps someone on linux-api knows? > > thanks, > > greg k-h Cheers, Ulf ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: KDBUS breaks 'make installmandocs' 2015-07-14 2:00 ` Ulf Magnusson @ 2015-07-14 18:24 ` Jim Davis 2015-07-15 14:19 ` David Herrmann 0 siblings, 1 reply; 5+ messages in thread From: Jim Davis @ 2015-07-14 18:24 UTC (permalink / raw) To: Ulf Magnusson Cc: Greg KH, linux-api, linux-kernel, daniel, David Herrmann, tixxdz On Mon, Jul 13, 2015 at 7:00 PM, Ulf Magnusson <ulfalizer.lkml@gmail.com> wrote: > On Mon, Jul 13, 2015 at 05:39:25PM -0700, Greg KH wrote: >> On Sun, Jul 12, 2015 at 08:08:46PM +0200, Ulf Magnusson wrote: >> > Hello, >> > >> > Tested with next-20150709. >> > >> > Documentation/kdbus/Makefile lacks an 'installmandocs' target, causing >> > problems for >> > >> > %docs: scripts_basic FORCE >> > $(Q)$(MAKE) $(build)=scripts build_docproc >> > $(Q)$(MAKE) $(build)=Documentation/DocBook $@ >> > $(Q)$(MAKE) $(build)=Documentation/kdbus $@ >> > >> > from the top-level Makefile. It still works, but no KDBUS-related man >> > pages are installed, and the final error isn't reassuring. >> >> What's the final error? >> > > $ sudo make installmandocs > GEN Documentation/DocBook//v4l2.xml > find Documentation/DocBook/man -name '*.9' | xargs gzip -f > mkdir -p /usr/local/man/man9/ > install Documentation/DocBook/man/*.9.gz /usr/local/man/man9/ > make[1]: *** No rule to make target 'installmandocs'. Stop. > Makefile:1359: recipe for target 'installmandocs' failed > make: *** [installmandocs] Error 2 > > > The "*** No rule to make target 'installmandocs'. Stop." error is > generated for Documentation/kdbus/Makefile. The other man pages still > install fine. There's a similar problem with 'make cleandocs'. Adding noop rules for installdocs and cleandocs to Documentation/kdbus/Makefile at least gets rid of the error messages. Jim ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: KDBUS breaks 'make installmandocs' 2015-07-14 18:24 ` Jim Davis @ 2015-07-15 14:19 ` David Herrmann [not found] ` <CANq1E4QgzTFijvkfqa-sEYfVktJLEA3+oFh6Sm8NekLie6B9Ww-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: David Herrmann @ 2015-07-15 14:19 UTC (permalink / raw) To: Jim Davis Cc: Ulf Magnusson, Greg KH, Linux API, linux-kernel, Daniel Mack, David Herrmann, Djalal Harouni Hi On Tue, Jul 14, 2015 at 8:24 PM, Jim Davis <jim.epost@gmail.com> wrote: > On Mon, Jul 13, 2015 at 7:00 PM, Ulf Magnusson <ulfalizer.lkml@gmail.com> wrote: >> On Mon, Jul 13, 2015 at 05:39:25PM -0700, Greg KH wrote: >>> On Sun, Jul 12, 2015 at 08:08:46PM +0200, Ulf Magnusson wrote: >>> > Hello, >>> > >>> > Tested with next-20150709. >>> > >>> > Documentation/kdbus/Makefile lacks an 'installmandocs' target, causing >>> > problems for >>> > >>> > %docs: scripts_basic FORCE >>> > $(Q)$(MAKE) $(build)=scripts build_docproc >>> > $(Q)$(MAKE) $(build)=Documentation/DocBook $@ >>> > $(Q)$(MAKE) $(build)=Documentation/kdbus $@ >>> > >>> > from the top-level Makefile. It still works, but no KDBUS-related man >>> > pages are installed, and the final error isn't reassuring. >>> >>> What's the final error? >>> >> >> $ sudo make installmandocs >> GEN Documentation/DocBook//v4l2.xml >> find Documentation/DocBook/man -name '*.9' | xargs gzip -f >> mkdir -p /usr/local/man/man9/ >> install Documentation/DocBook/man/*.9.gz /usr/local/man/man9/ >> make[1]: *** No rule to make target 'installmandocs'. Stop. >> Makefile:1359: recipe for target 'installmandocs' failed >> make: *** [installmandocs] Error 2 >> >> >> The "*** No rule to make target 'installmandocs'. Stop." error is >> generated for Documentation/kdbus/Makefile. The other man pages still >> install fine. > > There's a similar problem with 'make cleandocs'. Adding noop rules > for installdocs and cleandocs to Documentation/kdbus/Makefile at least > gets rid of the error messages. So the Docbook targets support much more %docs targets than just cleandocs and installdocs. I don't think it's reasonable to guarantee that all those targets are supported for all documentation subdirs. Hence, I'd propose the attached patch. This should at least make sure the targets won't fail. But I think we should look into cleandocs and installmandocs. I'll have a look into that later. This patch should just fix all the other targets right now. Thanks David diff --git a/Documentation/kdbus/Makefile b/Documentation/kdbus/Makefile index af87641..8caffe5 100644 --- a/Documentation/kdbus/Makefile +++ b/Documentation/kdbus/Makefile @@ -38,3 +38,7 @@ mandocs: $(MANFILES) htmldocs: $(HTMLFILES) clean-files := $(MANFILES) $(HTMLFILES) + +# we don't support other %docs targets right now +%docs: + @true ^ permalink raw reply related [flat|nested] 5+ messages in thread
[parent not found: <CANq1E4QgzTFijvkfqa-sEYfVktJLEA3+oFh6Sm8NekLie6B9Ww-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: KDBUS breaks 'make installmandocs' [not found] ` <CANq1E4QgzTFijvkfqa-sEYfVktJLEA3+oFh6Sm8NekLie6B9Ww-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2015-07-15 18:04 ` Jim Davis 0 siblings, 0 replies; 5+ messages in thread From: Jim Davis @ 2015-07-15 18:04 UTC (permalink / raw) To: David Herrmann Cc: Ulf Magnusson, Greg KH, Linux API, linux-kernel, Daniel Mack, David Herrmann, Djalal Harouni On Wed, Jul 15, 2015 at 7:19 AM, David Herrmann <dh.herrmann-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > diff --git a/Documentation/kdbus/Makefile b/Documentation/kdbus/Makefile > index af87641..8caffe5 100644 > --- a/Documentation/kdbus/Makefile > +++ b/Documentation/kdbus/Makefile > @@ -38,3 +38,7 @@ mandocs: $(MANFILES) > htmldocs: $(HTMLFILES) > > clean-files := $(MANFILES) $(HTMLFILES) > + > +# we don't support other %docs targets right now > +%docs: > + @true Looks good, no errors with next-20150715. Thanks! Jim ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-07-15 18:04 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <20150712180846.GA32176@huvuddator> 2015-07-14 0:39 ` KDBUS breaks 'make installmandocs' Greg KH 2015-07-14 2:00 ` Ulf Magnusson 2015-07-14 18:24 ` Jim Davis 2015-07-15 14:19 ` David Herrmann [not found] ` <CANq1E4QgzTFijvkfqa-sEYfVktJLEA3+oFh6Sm8NekLie6B9Ww-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2015-07-15 18:04 ` Jim Davis
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).