~beaky/wacs/wacs-devel

« back to all changes in this revision

Viewing changes to docs/manpages/source/Makefile

  • Committer: beaky
  • Date: 2019-08-08 14:58:15 UTC
  • Revision ID: svn-v4:4196e993-711f-0410-950c-c89e1d26c723:wacs-devel:2835
Updated the Manpages makefile to work on Ubuntu as well as Fedora.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
        wacsupdinfo.xml wacsvidcomb.xml wacscachectl.xml
6
6
#
7
7
IMAGEDIR=images
8
 
#
 
8
RELEASE=$(shell lsb_release -is)
 
9
# Direct inclusion rather than via a custom-X.xsl file
 
10
# Default is the Fedora and most likely CentOS/RHEL location
9
11
DOCBOOKXSL=/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl
 
12
ifeq ($(RELEASE),Ubuntu)
 
13
DOCBOOKXSL=/usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/manpages/docbook.xsl
 
14
endif
10
15
# Names of the custom style sheets per item style
 
16
# CUSTOMFO - for the fop-optimised style sheet
11
17
CUSTOMFO=custom-fo.xsl
 
18
ifeq ($(RELEASE),Fedora)
 
19
CUSTOMFO=custom-fo.xsl-Fedora
 
20
endif
 
21
ifeq ($(RELEASE),Ubuntu)
 
22
CUSTOMFO=custom-fo.xsl-Ubuntu
 
23
endif
 
24
# CUSTOMHTMLS - for the HTML (Single Page) optimised style sheet
12
25
CUSTOMHTMLS=custom-htmls.xsl
 
26
ifeq ($(RELEASE),Fedora)
 
27
CUSTOMHTMLS=custom-htmls.xsl-Fedora
 
28
endif
 
29
ifeq ($(RELEASE),Ubuntu)
 
30
CUSTOMHTLMS=custom-htmls.xsl-Ubuntu
 
31
endif
 
32
# CUSTOMHTMLM
13
33
CUSTOMHTMLM=custom-htmlm.xsl
 
34
ifeq ($(RELEASE),Fedora)
 
35
CUSTOMHTMLM=custom-htmlm.xsl-Fedora
 
36
endif
 
37
ifeq ($(RELEASE),Ubuntu)
 
38
CUSTOMHTMLM=custom-htmlm.xsl-Ubuntu
 
39
endif
14
40
# Names of the generated template file per destination type
15
41
TITLEGRAPHICFO=titlegraphic-fo.xsl
16
42
TITLEGRAPHICHTML=titlegraphic-html.xsl