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