|
|
d1b6f5 |
BINDIR = /usr/bin
|
|
|
d1b6f5 |
DESTDIR = ..overridden in spec file..
|
|
|
d1b6f5 |
|
|
|
d1b6f5 |
all: install
|
|
|
d1b6f5 |
|
|
|
d1b6f5 |
install: install-xsl install-img install-extensions install-misc install-epub
|
|
|
d1b6f5 |
|
|
|
d1b6f5 |
install-xsl:
|
|
|
d1b6f5 |
mkdir -p $(DESTDIR)/{common,eclipse,fo,html,htmlhelp/doc,javahelp,lib,template,xhtml,xhtml-1_1,manpages,profiling,highlighting,roundtrip,website}
|
|
|
d1b6f5 |
cp common/*.dtd $(DESTDIR)/common
|
|
|
d1b6f5 |
cp common/*.ent $(DESTDIR)/common
|
|
|
d1b6f5 |
cp common/*.xml $(DESTDIR)/common
|
|
|
d1b6f5 |
cp common/*.xsl $(DESTDIR)/common
|
|
|
d1b6f5 |
cp eclipse/*.xsl $(DESTDIR)/eclipse
|
|
|
d1b6f5 |
cp fo/*.xml $(DESTDIR)/fo
|
|
|
d1b6f5 |
cp fo/*.xsl $(DESTDIR)/fo
|
|
|
d1b6f5 |
cp html/*.xml $(DESTDIR)/html
|
|
|
d1b6f5 |
cp html/*.xsl $(DESTDIR)/html
|
|
|
d1b6f5 |
cp htmlhelp/*.xsl $(DESTDIR)/htmlhelp
|
|
|
d1b6f5 |
cp javahelp/*.xsl $(DESTDIR)/javahelp
|
|
|
d1b6f5 |
cp lib/*.xsl $(DESTDIR)/lib
|
|
|
d1b6f5 |
cp template/*.xsl $(DESTDIR)/template
|
|
|
d1b6f5 |
cp xhtml/*.xsl $(DESTDIR)/xhtml
|
|
|
d1b6f5 |
cp xhtml-1_1/*.xsl $(DESTDIR)/xhtml-1_1
|
|
|
d1b6f5 |
cp manpages/*.xsl $(DESTDIR)/manpages
|
|
|
d1b6f5 |
cp profiling/*.xsl $(DESTDIR)/profiling
|
|
|
d1b6f5 |
cp highlighting/*.xml $(DESTDIR)/highlighting
|
|
|
d1b6f5 |
cp highlighting/*.xsl $(DESTDIR)/highlighting
|
|
|
d1b6f5 |
cp roundtrip/*.xml $(DESTDIR)/roundtrip
|
|
|
d1b6f5 |
cp roundtrip/*.xsl $(DESTDIR)/roundtrip
|
|
|
d1b6f5 |
cp roundtrip/*.dtd $(DESTDIR)/roundtrip
|
|
|
d1b6f5 |
cp website/*.xsl $(DESTDIR)/website
|
|
|
d1b6f5 |
|
|
|
d1b6f5 |
install-img:
|
|
|
d1b6f5 |
mkdir -p $(DESTDIR)/images/callouts
|
|
|
d1b6f5 |
cp images/*.gif $(DESTDIR)/images
|
|
|
d1b6f5 |
cp images/*.png $(DESTDIR)/images
|
|
|
d1b6f5 |
cp images/*.svg $(DESTDIR)/images
|
|
|
d1b6f5 |
cp images/callouts/*.png $(DESTDIR)/images/callouts
|
|
|
d1b6f5 |
cp images/callouts/*.gif $(DESTDIR)/images/callouts
|
|
|
d1b6f5 |
cp images/callouts/*.svg $(DESTDIR)/images/callouts
|
|
|
d1b6f5 |
|
|
|
d1b6f5 |
install-extensions:
|
|
|
d1b6f5 |
mkdir -p $(DESTDIR)/extensions
|
|
|
d1b6f5 |
cp -r extensions/* $(DESTDIR)/extensions
|
|
|
d1b6f5 |
|
|
|
d1b6f5 |
install-epub:
|
|
|
d1b6f5 |
mkdir -p $(DESTDIR)/epub
|
|
|
d1b6f5 |
cp -r epub/* ${DESTDIR}/epub
|
|
|
d1b6f5 |
|
|
|
d1b6f5 |
install-misc:
|
|
|
d1b6f5 |
cp VERSION $(DESTDIR)
|