Changeset 32197 for trunk/doc-new


Ignore:
Timestamp:
Dec 19, 2007, 7:54:42 PM (12 years ago)
Author:
simon@…
Message:

doc-new: Changed ?= to = for consistence. Also some whitespace changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc-new/Makefile

    r32166 r32197  
    11# $Id$
     2
    23# Makefile to generate the macports html guide and the man pages.
    34# The ports 'docbook-xsl', 'docbook-xml' and 'libxslt' have to be
     
    910
    1011# prefix of the macports installation:
    11 PREFIX ?= /opt/local
     12PREFIX = /opt/local
    1213
    1314# command abstraction variables:
    14 MKDIR = /bin/mkdir
    15 CP = /bin/cp
    16 RM = /bin/rm
    17 SED = /usr/bin/sed
     15MKDIR    = /bin/mkdir
     16CP       = /bin/cp
     17RM       = /bin/rm
     18SED      = /usr/bin/sed
    1819XSLTPROC = $(PREFIX)/bin/xsltproc
    1920
    2021# data directories:
    21 GUIDE ?= guide
    22 MAN   ?= man
     22GUIDE = guide
     23MAN   = man
    2324# source directories:
    24 GUIDE-SRC ?= $(GUIDE)/xml
    25 MAN-SRC   ?= $(MAN)/xml
     25GUIDE-SRC = $(GUIDE)/xml
     26MAN-SRC   = $(MAN)/xml
    2627# result directories:
    27 GUIDE-RESULT ?= $(GUIDE)/html
    28 MAN-RESULT   ?= $(MAN)/man/
     28GUIDE-RESULT = $(GUIDE)/html
     29MAN-RESULT   = $(MAN)/man/
    2930# man temporary directory:
    30 MAN-TMP ?= $(MAN)/tmp
     31MAN-TMP = $(MAN)/tmp
    3132
    3233# path to the docbook xsl files:
    33 DOCBOOK   ?= $(PREFIX)/share/xsl/docbook-xsl
    34 GUIDE-XSL ?= $(DOCBOOK)/xhtml/profile-docbook.xsl
    35 MAN-XSL   ?= $(MAN)/resources/macports.xsl
     34DOCBOOK   = $(PREFIX)/share/xsl/docbook-xsl
     35GUIDE-XSL = $(DOCBOOK)/xhtml/profile-docbook.xsl
     36MAN-XSL   = $(MAN)/resources/macports.xsl
    3637
    3738# docbook html stylesheet for the guide:
    38 STYLESHEET ?= docbook.css
     39STYLESHEET = docbook.css
    3940# additional parameters for the guide:
    40 STRINGPARAMS ?= --stringparam html.stylesheet $(STYLESHEET) \
    41                       --stringparam section.autolabel 1 \
    42                       --stringparam toc.section.depth 1 \
    43                       --stringparam generate.toc "book toc" \
    44                       --stringparam section.label.includes.component.label 1 \
    45                       --stringparam profile.condition "noman"
     41STRINGPARAMS = --stringparam html.stylesheet $(STYLESHEET) \
     42                     --stringparam section.autolabel 1 \
     43                     --stringparam toc.section.depth 1 \
     44                     --stringparam generate.toc "book toc" \
     45                     --stringparam section.label.includes.component.label 1 \
     46                     --stringparam profile.condition "noman"
    4647
    4748
Note: See TracChangeset for help on using the changeset viewer.