docs/src/Makefile

Mon, 14 May 2018 13:15:32 +0200

author
Mike Becker <universe@uap-core.de>
date
Mon, 14 May 2018 13:15:32 +0200
changeset 304
1f9237cfeb26
parent 268
00e88487a654
permissions
-rw-r--r--

fixes typo in modules.md

universe@256 1 #
universe@256 2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
universe@256 3 #
universe@259 4 # Copyright 2017 Mike Becker, Olaf Wintermann All rights reserved.
universe@256 5 #
universe@256 6 # Redistribution and use in source and binary forms, with or without
universe@256 7 # modification, are permitted provided that the following conditions are met:
universe@256 8 #
universe@256 9 # 1. Redistributions of source code must retain the above copyright
universe@256 10 # notice, this list of conditions and the following disclaimer.
universe@256 11 #
universe@256 12 # 2. Redistributions in binary form must reproduce the above copyright
universe@256 13 # notice, this list of conditions and the following disclaimer in the
universe@256 14 # documentation and/or other materials provided with the distribution.
universe@256 15 #
universe@256 16 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
universe@256 17 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
universe@256 18 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
universe@256 19 # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
universe@256 20 # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
universe@256 21 # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
universe@256 22 # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
universe@256 23 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
universe@256 24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
universe@256 25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
universe@256 26 # POSSIBILITY OF SUCH DAMAGE.
universe@256 27 #
universe@256 28
universe@256 29 PD=pandoc
universe@256 30 PFLAGS=-c ucx.css -B header.html -A footer.html -T 'UAP Common Extensions'
universe@256 31
universe@256 32 SRC = index.md
universe@256 33 SRC += install.md
universe@256 34 SRC += license.md
universe@256 35 SRC += modules.md
universe@256 36
universe@256 37 DEST = ../web
universe@256 38
universe@256 39 PROJROOT = ../..
universe@256 40 LOGO = uaplogo.png
universe@256 41
universe@256 42 HTML = $(SRC:%.md=$(DEST)/%.html)
universe@256 43
universe@256 44 all: html api
universe@256 45
universe@256 46
universe@256 47 html: $(DEST) $(DEST)/ucx.css $(DEST)/$(LOGO) $(HTML)
universe@256 48
universe@256 49
universe@256 50 api: $(DEST)
universe@256 51 cd $(PROJROOT); doxygen
universe@256 52
universe@256 53 $(DEST):
universe@256 54 mkdir -p $@
universe@256 55
universe@256 56 $(DEST)/%.html: %.md
universe@256 57 $(PD) $(PFLAGS) $< -o $@
universe@256 58
universe@256 59 $(DEST)/ucx.css: ucx.css
universe@256 60 cp $< $@
universe@256 61
universe@256 62 $(DEST)/$(LOGO): $(PROJROOT)/$(LOGO)
universe@256 63 cp $< $@
universe@256 64
universe@256 65 clean:
universe@268 66 rm -Rf $(DEST)

mercurial