#
# $Id$
#
# Part of Equinox Desktop Environment (EDE).
# Copyright (c) 2000-2007 EDE Authors.
#
# This program is licensed under terms of the 
# GNU General Public License version 2 or newer.
# See COPYING for details.

SubDir TOP doc ;

EdeManual index.txt introduction.txt hacking.txt ;
EdeManualWithToc dbus-usage.txt ;

MANUAL_FILES       = [ Wildcard manual : *.html : manual ] ;
MANUAL_IMGS        = [ FDirName $(SUBDIR) manual images ] ;

# where will be installed
MANUAL_INSTALL_DIR = [ FDirName $(EDE_DOC_DIR) manual ] ;

# install generated documents
InstallData $(MANUAL_INSTALL_DIR) : $(MANUAL_FILES) ;

# copy directory with images
# TODO: if someone erase images from installed directory, directory
# will not be copied again until someone removes manual directory from installation path
CopyDir $(MANUAL_INSTALL_DIR) : $(MANUAL_IMGS) ;
Cleandir uninstall : $(MANUAL_INSTALL_DIR) ;
