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