]>
Commit | Line | Data |
---|---|---|
9b617772 SS |
1 | BINDIR = /usr/bin |
2 | DESTDIR = ..overridden in spec file.. | |
3 | ||
4 | all: install | |
5 | ||
6 | install: install-xsl install-img install-extensions install-misc install-epub | |
7 | ||
8 | install-xsl: | |
9 | mkdir -p $(DESTDIR)/{common,eclipse,fo,html,htmlhelp/doc,javahelp,lib,template,xhtml,xhtml-1_1,manpages,profiling,highlighting,roundtrip,website} | |
10 | cp common/*.dtd $(DESTDIR)/common | |
11 | cp common/*.ent $(DESTDIR)/common | |
12 | cp common/*.xml $(DESTDIR)/common | |
13 | cp common/*.xsl $(DESTDIR)/common | |
14 | cp eclipse/*.xsl $(DESTDIR)/eclipse | |
15 | cp fo/*.xml $(DESTDIR)/fo | |
16 | cp fo/*.xsl $(DESTDIR)/fo | |
17 | cp html/*.xml $(DESTDIR)/html | |
18 | cp html/*.xsl $(DESTDIR)/html | |
19 | cp htmlhelp/*.xsl $(DESTDIR)/htmlhelp | |
20 | cp javahelp/*.xsl $(DESTDIR)/javahelp | |
21 | cp lib/*.xsl $(DESTDIR)/lib | |
22 | cp template/*.xsl $(DESTDIR)/template | |
23 | cp xhtml/*.xsl $(DESTDIR)/xhtml | |
24 | cp xhtml-1_1/*.xsl $(DESTDIR)/xhtml-1_1 | |
25 | cp manpages/*.xsl $(DESTDIR)/manpages | |
26 | cp profiling/*.xsl $(DESTDIR)/profiling | |
27 | cp highlighting/*.xml $(DESTDIR)/highlighting | |
28 | cp highlighting/*.xsl $(DESTDIR)/highlighting | |
29 | cp roundtrip/*.xml $(DESTDIR)/roundtrip | |
30 | cp roundtrip/*.xsl $(DESTDIR)/roundtrip | |
31 | cp roundtrip/*.dtd $(DESTDIR)/roundtrip | |
32 | cp website/*.xsl $(DESTDIR)/website | |
33 | ||
34 | install-img: | |
35 | mkdir -p $(DESTDIR)/images/callouts | |
36 | cp images/*.gif $(DESTDIR)/images | |
37 | cp images/*.png $(DESTDIR)/images | |
38 | cp images/*.svg $(DESTDIR)/images | |
39 | cp images/callouts/*.png $(DESTDIR)/images/callouts | |
40 | cp images/callouts/*.gif $(DESTDIR)/images/callouts | |
41 | cp images/callouts/*.svg $(DESTDIR)/images/callouts | |
42 | ||
43 | install-extensions: | |
44 | mkdir -p $(DESTDIR)/extensions | |
45 | cp -r extensions/* $(DESTDIR)/extensions | |
46 | ||
47 | install-epub: | |
48 | mkdir -p $(DESTDIR)/epub | |
49 | cp -r epub/* ${DESTDIR}/epub | |
50 | ||
51 | install-misc: | |
52 | cp VERSION $(DESTDIR) |