# Release 18.06.3 Won't build user\_docs

**URL:** <https://forum.legato.io/t/release-18-06-3-wont-build-user-docs/3881>\
**Category:** Legato Application Framework\
**Created:** [November 13, 2018, 8:19pm UTC](https://forum.legato.io/t/release-18-06-3-wont-build-user-docs/3881 "2018-11-13T20:19:39Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![EvetsMostel](https://avatars.discourse-cdn.com/v4/letter/e/3ab097/32.png) [@EvetsMostel](https://forum.legato.io/u/EvetsMostel)\
**Post date:** [November 13, 2018, 8:19pm UTC](https://forum.legato.io/t/release-18-06-3-wont-build-user-docs/3881/1 "2018-11-13T20:19:39Z")

</div>

I’m setting up a Linux system to use an automated build instead of Dev Studio. I am building for Wp76xx (01 actually), 10.1.1. I’ve set up a new VM of Ubuntu and downloaded the 18.06.3 version of Legato via git. I ran make on it and it built everything but when it went to do the user\_docs, it says there is "no rule to make target ‘user\_docs’. Is there something missing here?

---

<div class="post-metadata">

**Author:** ![EvetsMostel](https://avatars.discourse-cdn.com/v4/letter/e/3ab097/32.png) [@EvetsMostel](https://forum.legato.io/u/EvetsMostel)\
**Post date:** [November 13, 2018, 9:40pm UTC](https://forum.legato.io/t/release-18-06-3-wont-build-user-docs/3881/2 "2018-11-13T21:40:58Z")

</div>

Well, when I added the type in the command (in my case wp76xx), it made with no errors. However, I tried making my app and it started working, but errored out because it couldn’t find the le\_mdc.api file. I know they are in the legato framework folder… it’s like it’s not including them somehow. Anyone got any clues?

---

<div class="post-metadata">

**Author:** ![CoRfr](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/corfr/32/69_2.png) [@CoRfr](https://forum.legato.io/u/CoRfr)\
**Post date:** [November 14, 2018, 5:10pm UTC](https://forum.legato.io/t/release-18-06-3-wont-build-user-docs/3881/3 "2018-11-14T17:10:35Z")

</div>

You mentioned you downloaded Legato through git, did you use repo or did you just download the Legato.git ?

---

<div class="post-metadata">

**Author:** ![EvetsMostel](https://avatars.discourse-cdn.com/v4/letter/e/3ab097/32.png) [@EvetsMostel](https://forum.legato.io/u/EvetsMostel)\
**Post date:** [November 14, 2018, 5:32pm UTC](https://forum.legato.io/t/release-18-06-3-wont-build-user-docs/3881/4 "2018-11-14T17:32:44Z")

</div>

I used repo to clone a specific release (18.06.3).  
I think I’ve got it figured out though. Had to modify the sdef file to put absolute paths in to point at the .adef files of my added apps. I also had to create a makefile that includes the appropriate interface files on the command line in order to make each individual app. Not sure I need that when I make my version of Legato though.

---

<div class="post-metadata">

**Author:** ![CoRfr](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/corfr/32/69_2.png) [@CoRfr](https://forum.legato.io/u/CoRfr)\
**Post date:** [November 15, 2018, 6:50am UTC](https://forum.legato.io/t/release-18-06-3-wont-build-user-docs/3881/5 "2018-11-15T06:50:06Z")

</div>

Not too sure about what you mean regarding the Makefile. What does that Makefile look like?

---

<div class="post-metadata">

**Author:** ![EvetsMostel](https://avatars.discourse-cdn.com/v4/letter/e/3ab097/32.png) [@EvetsMostel](https://forum.legato.io/u/EvetsMostel)\
**Post date:** [November 15, 2018, 1:49pm UTC](https://forum.legato.io/t/release-18-06-3-wont-build-user-docs/3881/6 "2018-11-15T13:49:51Z")

</div>

.PHONY: ALL $(TARGETS)  
all: $(TARGETS)

$(TARGETS):  
mkapp -v -t $@   
-i $(LEGATO\_ROOT)/interfaces/modemServices   
-i $(LEGATO\_ROOT)/interfaces   
-i $(LEGATO\_ROOT)/interfaces/atServices   
myapp.adef

Apparently the web page doesn’t like dollar signs and formatting, but you get the idea.

---

<div class="post-metadata">

**Author:** ![CoRfr](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/corfr/32/69_2.png) [@CoRfr](https://forum.legato.io/u/CoRfr)\
**Post date:** [November 15, 2018, 3:52pm UTC](https://forum.legato.io/t/release-18-06-3-wont-build-user-docs/3881/7 "2018-11-15T15:52:17Z")

</div>

I see, so you’re using that Makefile to build your app independently from the rest?  
It’s possible to do that, but the recommended way overall is to add the app to a new .sdef and point to it  
with `SDEF_TO_USE=<path to .sdef>`.

Note that you should be able to include the default sdef with:

```auto
#include "$LEGATO_ROOT/default.sdef"

```

Cf `modules/WiFi/wifi.sdef` for instance.
