Index: openacs-4/packages/acs-core-docs/www/xml/files/samplenote/Makefile =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/xml/files/samplenote/Attic/Makefile,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/acs-core-docs/www/xml/files/samplenote/Makefile 2 Apr 2003 17:54:38 -0000 1.1.2.1 +++ openacs-4/packages/acs-core-docs/www/xml/files/samplenote/Makefile 7 Apr 2003 16:26:14 -0000 1.1.2.2 @@ -1,32 +1,15 @@ # A very simple Makefile to generate the HTML docs -# @author Vinod Kurup (vinod@kurup.com) -# @author Modified by Roberto Mello (rmello@fslc.usu.edu) to have PDF generation -# plus refactored it a bit to have rules and dependencies. -# -# @creation-date 2002-08-10 -# @modified-date 2002-09-21 -# -# This simply copys all the 'files' and 'images' -# to the appropriate directory in www so that they are accessible -# -# It then moves into the www directory and runs the XSLT generation -# and runs htmldoc to generate PDFs. -# -# I'm a Makefile newbie, so feel free to comment/slash/change. # Paths XSLTPROC=/usr/bin/xsltproc HTMLDOC=/usr/bin/htmldoc +XSL=../../../acs-core-docs/www/xml/openacs.xsl all: html prelim: - cp -u files/*.{txt,html} ../files/ - cp -u images/*.{pdf,png,gif,jpg} ../images/ - cp -u openacs.css .. + cp -u *.png .. html: prelim - cd .. ; $(XSLTPROC) xml/openacs.xsl xml/index.xml + cd .. ; $(XSLTPROC) $(XSL) xml/index.xml -pdf: html - $(HTMLDOC) --batch ../for-everyone.book ../for-admins.book ../for-developers.book