mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Let tips be installed
This commit is contained in:
parent
6b6b9bc53e
commit
ab83d5a051
11
Jamconfig.in
11
Jamconfig.in
@ -38,17 +38,24 @@ EDE_VERSION ?= "@EDE_VERSION@" ;
|
||||
# directories used by build system
|
||||
PREFIX ?= "$(prefix)" ;
|
||||
EDE_BIN_DIR ?= "$(bindir)" ;
|
||||
EDE_CONFIG_DIR ?= "$(datadir)/config" ;
|
||||
EDE_CONFIG_DIR ?= "/etc/xdg/ede" ; # use XDG default for config dir
|
||||
EDE_CONFIG_DIR_OLD ?= "$(datadir)/config" ;
|
||||
EDE_ICON_DIR ?= "$(datadir)/icons" ;
|
||||
EDE_DESKTOP_FILE_DIR ?= "$(datadir)/desktop" ;
|
||||
EDE_MIME_DIR ?= "$(datadir)/mime" ;
|
||||
EDE_DOC_DIR ?= "$(docdir)/ede-$(EDE_VERSION)" ;
|
||||
EDE_THEMES_DIR ?= "$(datadir)/themes" ;
|
||||
EDE_TIPS_DIR ?= "$(datadir)/tips" ;
|
||||
|
||||
OPTIMFLAGS ?= @EDE_OPTIM_FLAGS@ ;
|
||||
DEBUGFLAGS ?= @EDE_DEBUG_FLAGS@ ;
|
||||
|
||||
# some C libraries have issues with C++ when given '-pedantic' flag, so
|
||||
# setting 'jam -sPEDANTIC=""' will allow compilation
|
||||
PEDANTIC = "-pedantic" ;
|
||||
|
||||
# global flags used to be passed to every target
|
||||
GLOBALFLAGS ?= -Wall -pedantic -DHAVE_CONFIG_H -I$(TOP) $(OPTIMFLAGS) $(DEBUGFLAGS) ;
|
||||
GLOBALFLAGS ?= -Wall $(PEDANTIC) -DHAVE_CONFIG_H -I$(TOP) $(OPTIMFLAGS) $(DEBUGFLAGS) ;
|
||||
STDLIB ?= -lstdc++ ;
|
||||
|
||||
# Note that REMOVE_UNUSED_DEPENDENCIES_TRICK _does not_ works when
|
||||
|
@ -115,6 +115,12 @@ rule InstallEdeConfigFiles
|
||||
InstallData $(EDE_CONFIG_DIR) : $(<) ;
|
||||
}
|
||||
|
||||
# InstallEdeTips [targets] ;
|
||||
rule InstallEdeTips
|
||||
{
|
||||
InstallData $(EDE_TIPS_DIR) : $(<) ;
|
||||
}
|
||||
|
||||
# InstallEdeMimeFiles [targets] ;
|
||||
# Installs XDG mime files and run update-mime-database
|
||||
rule InstallEdeMimeFiles
|
||||
|
@ -38,3 +38,6 @@ actions FortuneCompile1
|
||||
}
|
||||
|
||||
FortuneCompile tips/ede.dat : tips/ede ;
|
||||
|
||||
InstallEdeTips tips/ede.dat ;
|
||||
InstallEdeTips tips/ede ;
|
||||
|
Loading…
Reference in New Issue
Block a user