2008-08-07 18:22:05 +04:00
|
|
|
#
|
|
|
|
# $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.
|
|
|
|
|
|
|
|
SubDir TOP ehelp ;
|
|
|
|
|
2008-08-22 20:40:18 +04:00
|
|
|
rule MakeScript
|
|
|
|
{
|
|
|
|
# add grist to file names (not needed, but you never know...)
|
|
|
|
local source = [ FGristFiles $(>) ] ;
|
|
|
|
|
|
|
|
# let jam call from the top directory (jam ehelp) 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@|$(EDEDOCDIR)|' > "$(<)"
|
|
|
|
}
|
|
|
|
|
|
|
|
MakeScript ehelp : ehelp.in ;
|
2008-08-07 18:22:05 +04:00
|
|
|
EdeManual ehelp.txt ;
|