2007-03-16 18:18:54 +03:00
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
# Part of Equinox Desktop Environment (EDE).
|
2008-09-22 17:54:05 +04:00
|
|
|
# Copyright (c) 2000-2008 EDE Authors.
|
2007-03-16 18:18:54 +03:00
|
|
|
#
|
|
|
|
# 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 ;
|
2007-03-16 18:18:54 +03:00
|
|
|
|
2008-09-22 17:54:05 +04:00
|
|
|
SOURCE = Fortune.cpp ede-tip.cpp ;
|
2008-01-14 15:02:43 +03:00
|
|
|
|
2008-09-22 17:54:05 +04:00
|
|
|
EdeProgram ede-tip : $(SOURCE) ;
|
2008-01-14 15:02:43 +03:00
|
|
|
TranslationStrings locale : $(SOURCE) ;
|
2008-09-22 17:54:05 +04:00
|
|
|
EdeManual doc/ede-tip.txt : doc/ede-tip.jpg ;
|
2008-01-14 15:02:43 +03:00
|
|
|
|
2008-09-22 17:54:05 +04:00
|
|
|
ProgramBare ede-tip-compiler : ede-tip-compiler.c ;
|
2009-10-07 14:50:10 +04:00
|
|
|
LinkAgainst ede-tip-compiler : $(LIBM) ;
|
2008-01-14 15:02:43 +03:00
|
|
|
|
|
|
|
# this rule is for compiling fortune files
|
|
|
|
rule FortuneCompile
|
|
|
|
{
|
2008-09-22 17:54:05 +04:00
|
|
|
Depends $(<) : ede-tip-compiler ;
|
2008-01-14 15:02:43 +03:00
|
|
|
Depends $(<) : $(>) ;
|
|
|
|
Depends all : $(<) ;
|
|
|
|
|
|
|
|
SEARCH on $(>) = $(SUBDIR) ;
|
|
|
|
MakeLocate $(<) : $(SUBDIR) ;
|
|
|
|
|
|
|
|
FortuneCompile1 $(<) : $(>) ;
|
2009-01-26 15:31:01 +03:00
|
|
|
LocalClean clean : $(<) ;
|
2008-01-14 15:02:43 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
actions FortuneCompile1
|
|
|
|
{
|
2008-09-22 17:54:05 +04:00
|
|
|
$(TOP)/ede-tip/ede-tip-compiler -s "$(>)" "$(<)"
|
2008-01-14 15:02:43 +03:00
|
|
|
}
|
|
|
|
|
2009-02-24 16:54:14 +03:00
|
|
|
FortuneCompile tips/ede.dat : tips/ede ;
|
|
|
|
|
|
|
|
InstallEdeTips tips/ede.dat ;
|
|
|
|
InstallEdeTips tips/ede ;
|