1. xemacs
  2. xslt-process


xslt-process / Makefile

# Makefile for sh-script lisp code

# This file is part of XEmacs.

# XEmacs is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2, or (at your option) any
# later version.

# XEmacs is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.

# You should have received a copy of the GNU General Public License
# along with XEmacs; see the file COPYING.  If not, write to
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.

.PHONY: doc

VERSION = 1.07
MAINTAINER = Ovidiu Predescu <ovidiu@xemacs.org>
PACKAGE = xslt-process
PKG_TYPE = regular
REQUIRES = jde cc-mode semantic debug speedbar edit-utils eterm \
	mail-lib xemacs-base elib eieio sh-script fsf-compat
CATEGORY = standard

MAKE ?= make

JAR = xslt.jar

ELCS = lisp/xslt-process.elc

#ELCS_1 = t
#ELCS_1_FILES = java/xslt.jar
#ELCS_1_DEST = xslt-process/java/

DATA_1_FILES = $(wildcard java/xslt/*.java) $(wildcard java/xslt/*.class)
DATA_1_DEST = $(PACKAGE)/java/xslt

DATA_2_FILES = java/$(JAR)

DATA_3_FILES = doc/$(PACKAGE).info doc/$(PACKAGE).pdf doc/$(PACKAGE).ps \
	doc/$(PACKAGE).texi doc/$(PACKAGE).gif


INFO_FILES = doc/$(PACKAGE).info
HTML_FILES = doc/$(PACKAGE)*.html
HTML_DEP = doc/$(PACKAGE).html
TEXI_FILES = doc/$(PACKAGE).texi doc/$(PACKAGE).gif

include ../../XEmacs.rules

GENERATED += $(AUTOLOAD_PATH)/custom-load.elc

all:: $(AUTOLOAD_PATH)/auto-autoloads.elc $(ELCS) \
	$(AUTOLOAD_PATH)/custom-load.elc $(INFO_FILES)

srckit: srckit-std

binkit: binkit-common

jar: java/$(JAR)

java/xslt.jar: $(wildcard java/xslt/*.java)
	(cd java; \
	 javac -classpath `pwd`/java:$$CLASSPATH `find . -name '*.java'`; \
	 jar cf $(JAR) `find . -name '*.class'`)

	(cd doc; $(MAKE))

	(cd doc; $(MAKE) clean)