# Makefile for fancy toolbar package

# This file is not part of XEmacs.

# This software 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.

# This software 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 This software; see the file COPYING.  If not, write to
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.

VERSION = 0.07
AUTHOR_VERSION = 0.07
MAINTAINER = Jan Vroonhof <vroonhof@math.ethz.ch>
PACKAGE = toolbar-fancy
PKG_TYPE = regular
REQUIRES = 
CATEGORY = ui
RELEASEDIR = $(HOME)/www/emacs/packages

ELCS = lisp/toolbar-fancy.elc
#EXTRA_SOURCES = 

DATA_FILES = README.icons $(wildcard etc/README.*) $(wildcard etc/*.x?m) 
DATA_DEST = $(PACKAGE)
#INFO_FILES = texi/w3-faq.info* texi/w3.info*
#TEXI_FILES = texi/w3-faq.txi texi/w3.txi
#MANUAL = w3-faq w3

AUTOLOAD_PATH = lisp

include ./XEmacs.rules

GENERATED += lisp/custom-load.elc

PRELOADS = -eval "(push \"`pwd`/lisp/\" load-path)" #-l edmacro -l cl-macs -l cus-face -l docomp -l w3-vars.el

all:: lisp/auto-autoloads.el $(ELCS) lisp/auto-autoloads.elc lisp/custom-load.elc

.PHONY: srckit release release-bin release-src

srckit: srckit-std

binkit: binkit-common

release: release-src release-bin

release-bin: binball
	cp $(STAGING)/$(PACKAGE)-$(VERSION)-pkg.tar.gz $(RELEASEDIR)

release-src: srckit
	cp $(STAGING)/$(PACKAGE)-$(VERSION)-src.tar.gz $(RELEASEDIR)

release-clean:
	rm $(RELEASEDIR)/$(PACKAGE)-*.tar.gz
