ede/ede-help/Jamfile

46 lines
1.0 KiB
Plaintext
Raw Normal View History

#
# $Id$
#
# Part of Equinox Desktop Environment (EDE).
# Copyright (c) 2008 EDE Authors.
#
# This program is licensed under the terms of the
# GNU General Public License version 2 or later.
# See COPYING for the details.
2008-09-22 17:46:14 +04:00
SubDir TOP ede-help ;
rule MakeScript
{
# add grist to file names (not needed, but you never know...)
local source = [ FGristFiles $(>) ] ;
2008-09-22 17:46:14 +04:00
# let jam call from the top directory (jam ede-help) knows what to
# build and not be confused with the same name of directory
SEARCH on $(source) = $(SUBDIR) ;
LocalDepends $(<) : $(source) ;
LocalDepends all : $(<) ;
LocalClean clean : $(<) ;
# where generated target will be located
MakeLocate $(<) : $(LOCATE_TARGET) ;
MakeScript1 $(<) : $(source) ;
# let it be installed on 'jam install'
InstallEdeProgram $(<) ;
# make it executable
MODE on $(<) = $(EXEMODE) ;
Chmod $(<) ;
}
actions existing MakeScript1
{
cat "$(>)" | $(SED) -e 's|@ededocdir@|$(EDE_DOC_DIR)|' > "$(<)"
}
2008-09-22 17:46:14 +04:00
MakeScript ede-help : ede-help.in ;
EdeManual ede-help.txt ;