ede/ehelp/Jamfile
Sanel Zukan ae122e1885 Relaxed EXEMODE jam sets
Let manual be installed in docsdir
jam will also create ehelp from ehelp.in setting correct location
Fixed a typo with RMDIR_UNSAFE so Cleandir can work now
Added CopyDir rule
Added missing linking libraries for capone
2008-08-22 16:40:18 +00:00

46 lines
1013 B
Plaintext

#
# $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 ;
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 ;
EdeManual ehelp.txt ;