1 # Makefile for xslt-process lisp code
3 # This file is part of XEmacs.
5 # XEmacs is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by the
7 # Free Software Foundation; either version 2, or (at your option) any
10 # XEmacs is distributed in the hope that it will be useful, but WITHOUT
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 # You should have received a copy of the GNU General Public License
16 # along with XEmacs; see the file COPYING. If not, write to
17 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 # Boston, MA 02111-1307, USA.
21 AUTHOR_VERSION = 1.2.1
22 MAINTAINER = Ovidiu Predescu <ovidiu@xemacs.org>
23 PACKAGE = xslt-process
25 REQUIRES = jde cc-mode semantic cedet-common debug speedbar edit-utils eterm \
26 mail-lib xemacs-base elib eieio sh-script fsf-compat xemacs-devel os-utils
31 ELCS = lisp/xslt-process.elc
34 #ELCS_1_FILES = java/xslt.jar
35 #ELCS_1_DEST = xslt-process/java/
37 EXTRA_SOURCES = INSTALL README
39 DATA_1_FILES = $(wildcard java/xslt/*.java) $(wildcard java/xslt/*.class)
40 DATA_1_DEST = $(PACKAGE)/java/xslt
42 DATA_2_FILES = java/$(JAR)
43 DATA_2_DEST = $(PACKAGE)/java
47 EXPLICIT_DOCS = doc/$(PACKAGE).texi
49 EXTRA_DOC_FILES = doc/$(PACKAGE).gif
51 EXTRA_DEPENDENCIES = INSTALL README
53 include ../../XEmacs.rules
57 java/xslt.jar: $(wildcard java/xslt/*.java)
59 javac -classpath `pwd`/java:$$CLASSPATH `find . -name '*.java'`; \
60 jar cf $(JAR) `find . -name '*.class'`)
62 INSTALL README: doc/$(PACKAGE).texi
63 info --output=README --subnodes --file doc/$(PACKAGE).info
64 sed -e '/^File:.*/d' -e '/[ ]*,Top[ ]*/d' < README > README.tmp
65 info --file=doc/$(PACKAGE).info --node=Installation --node='Setting up PSGML with XSLT-process' --output INSTALL
69 sed -e 's/<BODY[^>]*>/<BODY>/g' \
70 -e 's^</BODY>^<p><a HREF=../index.html><img src=../../images/back.gif border=0%> Other (X)Emacs hacks</a><br><a href=../../index.html><img src=../../images/home.gif border=0%> Home</a></body>^g' -e 's/xslt-process.html/index.html/g' <$(HTML_DEP) >$(HTML_DEP).tmp
71 mv $(HTML_DEP).tmp index.html