Added InstallEdeDoc and LinkAgainstFirst rules

This commit is contained in:
Sanel Zukan 2008-08-25 13:24:16 +00:00
parent 6394b85004
commit aa8eb8e010
2 changed files with 14 additions and 0 deletions

View File

@ -141,6 +141,13 @@ rule InstallEdeMimeFiles
}
}
# InstallEdeDoc [targets] ;
# Installs targets to EDEDOCDIR directory
rule InstallEdeDoc
{
InstallData $(EDEDOCDIR) : $(1) ;
}
actions Install1
{
$(CP) "$(>)" "$(<)"

View File

@ -55,6 +55,13 @@ rule LinkAgainst
LINKLIBS on $(1) = [ on $(1) return $(LINKLIBS) ] $(2) ;
}
# LinkAgainstAsFirst [taraget] : [libraries] ;
# The same as LinkAgainst, except [libraries] will be placed before other libraries.
rule LinkAgainstAsFirst
{
LINKLIBS on $(1) = $(2) [ on $(1) return $(LINKLIBS) ] ;
}
# Program [target] : [sources] ;
# Compiles and links [target] from [sources]. No external flags or
# libraries are used since this should be generic rule for compiling