mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
2dcdc52e6a
Added ProgramBare rule in Program.jam so there could be built plain (command-line) programs and so they could be installed where other EDE programs resides. New etip on FLTK1 code. Also, instead hardcoded tips, etip now uses fortune-like files for tips. Ah yes, it is able to read fortune files too :)
41 lines
809 B
Plaintext
41 lines
809 B
Plaintext
#
|
|
# $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 ;
|
|
|
|
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
|
|
{
|
|
$(TOP)/etip/etip-compiler "$(>)" "$(<)"
|
|
}
|
|
|
|
FortuneCompile tips/ede.dat : tips/ede ;
|