Blame SOURCES/docbook-style-dsssl.Makefile

1c83b8
BINDIR = /usr/bin
1c83b8
DESTDIR = /usr/share/sgml/docbook/dsssl-stylesheets-1.74b
1c83b8
MANDIR= /usr/share/man
1c83b8
1c83b8
all: install
1c83b8
1c83b8
install: install-bin install-dtd install-dsl install-img install-misc install-man
1c83b8
1c83b8
install-bin:
1c83b8
	mkdir -p $(BINDIR)
1c83b8
	install -p bin/collateindex.pl $(BINDIR)
1c83b8
1c83b8
install-man:
1c83b8
	mkdir -p $(MANDIR)/man1
1c83b8
	install -m 644 -p bin/collateindex.pl.1 $(MANDIR)/man1
1c83b8
1c83b8
install-dtd:
1c83b8
	mkdir -p $(DESTDIR)/dtds/{decls,dbdsssl,html,imagelib,olink}
1c83b8
	cp -p dtds/decls/docbook.dcl $(DESTDIR)/dtds/decls
1c83b8
	cp -p dtds/decls/xml.dcl $(DESTDIR)/dtds/decls
1c83b8
	cp -p dtds/dbdsssl/dbdsssl.dtd $(DESTDIR)/dtds/dbdsssl
1c83b8
	cp -p dtds/html/dbhtml.dtd $(DESTDIR)/dtds/html
1c83b8
	cp -p dtds/html/ISOlat1.gml $(DESTDIR)/dtds/html
1c83b8
	cp -p dtds/imagelib/imagelib.dtd $(DESTDIR)/dtds/imagelib
1c83b8
	cp -p dtds/olink/olinksum.dtd $(DESTDIR)/dtds/olink
1c83b8
1c83b8
install-dsl:
1c83b8
	mkdir -p $(DESTDIR)/{lib,common,html,print,olink}
1c83b8
	cp -p lib/dblib.dsl $(DESTDIR)/lib
1c83b8
	cp -p common/*.dsl $(DESTDIR)/common
1c83b8
	cp -p common/*.ent $(DESTDIR)/common
1c83b8
	cp -p html/*.dsl $(DESTDIR)/html
1c83b8
	cp -p lib/dblib.dsl $(DESTDIR)/lib
1c83b8
	cp -p print/*.dsl $(DESTDIR)/print
1c83b8
	cp -p olink/*.dsl $(DESTDIR)/olink
1c83b8
1c83b8
install-img:
1c83b8
	mkdir -p $(DESTDIR)/images/callouts
1c83b8
	cp -p images/*.gif $(DESTDIR)/images
1c83b8
	cp -p images/callouts/*.gif $(DESTDIR)/images/callouts
1c83b8
1c83b8
#install-test:
1c83b8
#	mkdir -p $(DESTDIR)/test/{cases,imagelib,xml}
1c83b8
#	cp test/*.* $(DESTDIR)/test
1c83b8
#	cp test/cases/*.* $(DESTDIR)/test/cases
1c83b8
#	cp test/imagelib/*.* $(DESTDIR)/test/imagelib
1c83b8
#	cp test/xml/*.* $(DESTDIR)/test/xml
1c83b8
1c83b8
install-misc:
1c83b8
	cp -p catalog $(DESTDIR)
1c83b8
	cp -p VERSION $(DESTDIR)