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