<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="dev-help-build" xml:lang="sv">

  <info>
    <link type="next" xref="dev-help-appmenu"/>
    <revision version="0.1" date="2013-06-18" status="review"/>

    <credit type="author copyright">
      <name>Radina Matic</name>
      <email its:translate="no">radina.matic@gmail.com</email>
      <years>2013</years>
    </credit>
    <credit type="editor">
      <name>Ekaterina Gerasimova</name>
      <email its:translate="no">kittykat3756@gmail.com</email>
      <years/>
    </credit>

    <include xmlns="http://www.w3.org/2001/XInclude" href="cc-by-sa-3-0.xml"/>

  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Daniel Nylander</mal:name>
      <mal:email>po@danielnylander.se</mal:email>
      <mal:years>2007</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Anders Jonsson</mal:name>
      <mal:email>anders.jonsson@norsjovallen.se</mal:email>
      <mal:years>2017, 2018</mal:years>
    </mal:credit>
  </info>

  <title>Konfigurera ditt byggsystem</title>

  <links type="series" style="floatend">
    <title>Konfigurera hjälp</title>
  </links>

  <p>Hjälp installeras vanligen i katalogen <file its:translate="no">/usr/share/help/<input>locale</input>/<input>HELP_ID</input></file>.</p>

  <p>Lägg till följande rader i filen <file>configure.ac</file>:</p>

  <code>YELP_HELP_INIT</code>

  <code>AC_CONFIG_FILES([
help/Makefile
])</code>

  <p>Lägg till följande rad till <file>Makefile.am</file>:</p>
  <code>SUBDIRS = help</code>

  <p>Lägg till en <file>help/Makefile.am</file>, den ska lista hjälpfilerna som du vill installera i ditt projekt:</p>
<code>
@YELP_HELP_RULES@

HELP_ID = <input>programnamn</input>

# Mediafiler
HELP_MEDIA = \
	figures/icon.png

# Hjälpsidor
HELP_FILES = \
	index.page \
	introduction.page \
	anotherpage.page

# Översatta språk, tom om inga översättningar finns
HELP_LINGUAS = en_GB
</code>

</page>
