OpenCores
URL https://opencores.org/ocsvn/wb2axip/wb2axip/trunk

Subversion Repositories wb2axip

[/] [wb2axip/] [trunk/] [doc/] [Makefile] - Blame information for rev 16

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 8 dgisselq
################################################################################
2
##
3
## Filename:    Makefile
4
##
5
## Project:     Pipelined Wishbone to AXI converter
6
##
7
## Purpose:     To coordinate the build of documentation PDFs from their
8
##              LaTeX sources.
9
##
10
##      Targets include:
11
##              all             Builds all documents
12
##
13 16 dgisselq
##              lgpl-3.0.pdf    Builds the LGPL license these files are released
14 8 dgisselq
##                                      under.
15
##
16
##              spec.pdf        Builds the specification for the SDSPI
17
##                                      controller.
18
##
19
## Creator:     Dan Gisselquist, Ph.D.
20
##              Gisselquist Technology, LLC
21
##
22
################################################################################
23
##
24 16 dgisselq
## Copyright (C) 2015-2016,2018 Gisselquist Technology, LLC
25 8 dgisselq
##
26 16 dgisselq
## This file is part of the pipelined Wishbone to AXI converter project, a
27
## project that contains multiple bus bridging designs and formal bus property
28
## sets.
29 8 dgisselq
##
30 16 dgisselq
## The bus bridge designs and property sets are free RTL designs: you can
31
## redistribute them and/or modify any of them under the terms of the GNU
32
## Lesser General Public License as published by the Free Software Foundation,
33
## either version 3 of the License, or (at your option) any later version.
34 8 dgisselq
##
35 16 dgisselq
## The bus bridge designs and property sets are distributed in the hope that
36
## they will be useful, but WITHOUT ANY WARRANTY; without even the implied
37
## warranty of MERCHANTIBILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
38
## GNU Lesser General Public License for more details.
39
##
40
## You should have received a copy of the GNU Lesser General Public License
41
## along with these designs.  (It's in the $(ROOT)/doc directory.  Run make
42
## with no target there if the PDF file isn't present.)  If not, see
43 8 dgisselq
##  for a copy.
44
##
45 16 dgisselq
## License:     LGPL, v3, as defined and found on www.gnu.org,
46
##              http://www.gnu.org/licenses/lgpl.html
47 8 dgisselq
##
48
################################################################################
49
##
50
##
51 16 dgisselq
all:    lgpl
52
pdf:    lgpl spec
53 8 dgisselq
DSRC := src
54
 
55 16 dgisselq
.PHONY: lgpl
56
LICENSE := lgpl-3.0
57
lgpl: $(LICENSE).pdf
58 8 dgisselq
 
59 16 dgisselq
$(LICENSE).pdf: $(DSRC)/$(LICENSE).tex
60
        latex $(DSRC)/$(LICENSE).tex
61
        latex $(DSRC)/$(LICENSE).tex
62
        dvips -q -z -t letter -P pdf -o $(LICENSE).ps $(LICENSE).dvi
63
        ps2pdf -dAutoRotatePages=/All $(LICENSE).ps $(LICENSE).pdf
64
        rm $(LICENSE).dvi $(LICENSE).log $(LICENSE).aux $(LICENSE).ps
65 8 dgisselq
 
66
.PHONY: spec
67
spec: spec.pdf
68
 
69
spec.pdf: $(DSRC)/spec.tex $(DSRC)/gqtekspec.cls $(DSRC)/GT.eps
70
        cd $(DSRC)/; latex spec.tex
71
        cd $(DSRC)/; latex spec.tex
72
        cd $(DSRC)/; dvips -q -z -t letter -P pdf -o ../spec.ps spec.dvi
73
        ps2pdf -dAutoRotatePages=/All spec.ps spec.pdf
74
        -grep -i warning $(DSRC)/spec.log
75
        @rm -f $(DSRC)/spec.dvi $(DSRC)/spec.log
76
        @rm -f $(DSRC)/spec.aux $(DSRC)/spec.toc
77
        @rm -f $(DSRC)/spec.lot $(DSRC)/spec.lof
78
        @rm -f $(DSRC)/spec.out spec.ps
79
 
80
.PHONY: clean
81
clean:
82
        rm -f $(DSRC)/spec.dvi $(DSRC)/spec.log
83
        rm -f $(DSRC)/spec.aux $(DSRC)/spec.toc
84
        rm -f $(DSRC)/spec.lot $(DSRC)/spec.lof
85
        rm -f $(DSRC)/spec.out spec.ps spec.pdf
86 16 dgisselq
        rm -f $(LICENSE).pdf

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.