mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Imported eabout, a small program that displays current EDE version, authors, contibutors, etc.
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 :)
This commit is contained in:
30
etip/Jamfile
30
etip/Jamfile
@@ -10,5 +10,31 @@
|
||||
|
||||
SubDir TOP etip ;
|
||||
|
||||
MakeProgram etip : etip.cpp ;
|
||||
ExtractStrings locale : etip.cpp ;
|
||||
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 ;
|
||||
|
||||
Reference in New Issue
Block a user