ede/ede-tip/Jamfile

45 lines
940 B
Plaintext
Raw Normal View History

#
# $Id$
#
# Part of Equinox Desktop Environment (EDE).
2008-09-22 17:54:05 +04:00
# Copyright (c) 2000-2008 EDE Authors.
#
# This program is licenced under terms of the
# GNU General Public Licence version 2 or newer.
# See COPYING for details.
2008-09-22 17:54:05 +04:00
SubDir TOP ede-tip ;
2008-09-22 17:54:05 +04:00
SOURCE = Fortune.cpp ede-tip.cpp ;
2008-09-22 17:54:05 +04:00
EdeProgram ede-tip : $(SOURCE) ;
TranslationStrings locale : $(SOURCE) ;
2008-09-22 17:54:05 +04:00
EdeManual doc/ede-tip.txt : doc/ede-tip.jpg ;
2008-09-22 17:54:05 +04:00
ProgramBare ede-tip-compiler : ede-tip-compiler.c ;
LinkAgainst ede-tip-compiler : $(LIBM) ;
# this rule is for compiling fortune files
rule FortuneCompile
{
2008-09-22 17:54:05 +04:00
Depends $(<) : ede-tip-compiler ;
Depends $(<) : $(>) ;
Depends all : $(<) ;
SEARCH on $(>) = $(SUBDIR) ;
MakeLocate $(<) : $(SUBDIR) ;
FortuneCompile1 $(<) : $(>) ;
LocalClean clean : $(<) ;
}
actions FortuneCompile1
{
2008-09-22 17:54:05 +04:00
$(TOP)/ede-tip/ede-tip-compiler -s "$(>)" "$(<)"
}
2009-02-24 16:54:14 +03:00
FortuneCompile tips/ede.dat : tips/ede ;
InstallEdeTips tips/ede.dat ;
InstallEdeTips tips/ede ;