-
Committer:
Kyle Nitzsche
-
Date:
2011-06-30 13:57:41 UTC
-
Revision ID:
kyle.nitzsche@canonical.com-20110630135741-fz2jd30r05pvsdea
* simplifiy doctemplate_make usage as follows:
doctemplate_make <build type>, where <build type> no longer needs to
include the project type. For example, previously, to build a book project
to pdf, you would use: 'doctemplate_make book-pdf'. But to build an article
project to pdf, you would use: doctemplate_make pdf. Now, in both cases,
you use 'doctemplate_make pdf'. The code checks the TYPE variable defined
in the proejct's environment file and, by also consulting files in
/usr/share/doctemplate/build-types, it determines the valid build types
for the current project type and enables the simple build types. If you
don't provide a build type or specify an invalid one, help displays that
lists the valid build types for the current project.
* also fixed epub build output for article projects to be standard layout,
with mimetype file and with included styles.css into OEBPS dir