Menu

[r13171]: / branches / aui_test / docs / Makefile.win  Maximize  Restore  History

Download this file

49 lines (35 with data), 1.3 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# This Makefile is based on the Makefile of the Ubuntu documentation project.
#
# st = status
# dg = Documentation Guide
current_distro=$(shell test -e /etc/debian_version && echo "debian")
# Docbook XSL's
NWDBXSL=C:\compilers\unix\share\docbook\stylesheet\html\docbook.xsl
# Collected and Write Status
wOS=./libs/writeOwnerStatus.xsl
HTMLXSL=$(NWDBXSL)
# Base directories for output from processor
BASE=./build/
STBASE=./build/status/
DGBASE=./build/docguide/
.PHONY: all
all: status dg
clean:
# rm -rf $(BASE)
#Status: AVAILABLE
# Code::Blocks Status Reports
status:
@echo "--- Building status reports... please be patient. ---"
@echo "--- Documentation Guide status report ---"
xsltproc --xinclude -o $(STBASE)dg-report.xml $(wOS) docguide/C/documentation-guide.xml
xsltproc --xinclude -o $(STBASE)dg-report.html $(NWDBXSL) $(STBASE)dg-report.xml
@echo "--- Complete. Find outputs at" $(STBASE) ". ---"
# Status: TESTING
# Documentation Guide
dg:
@echo "--- Building Documentation Guide. ---"
@echo "--- Removing excist build files (if any). ---"
# rm -rf $(DGBASE)C/*.html
@echo "--- Building new files. ---"
xsltproc -o $(DGBASE)C/documentation-guide.html $(HTMLXSL) docguide/C/documentation-guide.xml
@echo "--- Complete. Find output at " $(DGBASE)C ". ---"
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.