Subversion Repositories svn LFS-FR

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7371 jlepiller 1
epub: validate
2
	@echo "Generating HTML/XML for EPUB..."
3
	$(Q)if [ ! -e $(BASEDIR) ]; then \
4
	        mkdir -p $(BASEDIR); \
5
	fi;
6
	$(Q)mkdir -p $(RENDERTMP)/blfs-epub/
7
	$(Q)xsltproc --nonet --output $(RENDERTMP)/blfs-epub/ DOCBOOK_LOCATION/epub/docbook.xsl $(RENDERTMP)/lfs-full.xml
8
	@echo "Generating EPUB file..."
9
	echo "application/epub+zip" > $(RENDERTMP)/mimetype
10
	cwd=$$(pwd) ;\
11
	cd $(RENDERTMP)/; zip -0Xq $$cwd/../$(EPUB_OUTPUT) ./mimetype
12
	cwd=$$(pwd) ;\
13
	cd $(RENDERTMP)/lfs-epub/; zip -Xr9Dq $$cwd/../$(EPUB_OUTPUT) ./*