From c795bf2fad0382cb7cf902e3d2ada52c127e2bbc Mon Sep 17 00:00:00 2001 From: craig Date: Sun, 6 May 2012 21:08:55 +0000 Subject: Per Gentoo's app-office/scribus/scribus-1.4.9999.ebuild, add in WANT_NOTEMPLATES for those that don't want to install templates, WANT_NOEXAMPLES to not install script samples (CMake options), only install README.MacOSX for OSX installs git-svn-id: svn://scribus.net/branches/Version14x/Scribus@17499 11d20701-8431-0410-a711-e3c959e3b870 --- scribus/plugins/scriptplugin/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scribus/plugins/scriptplugin') diff --git a/scribus/plugins/scriptplugin/CMakeLists.txt b/scribus/plugins/scriptplugin/CMakeLists.txt index 6ed7b4d..a8127d4 100644 --- a/scribus/plugins/scriptplugin/CMakeLists.txt +++ b/scribus/plugins/scriptplugin/CMakeLists.txt @@ -3,7 +3,10 @@ ${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/scribus ) +# Gentoo has an option for no examples. Let's make the ebuild simpler and open up the option to others, but leave as a default for us +IF (NOT WANT_NOEXAMPLES) ADD_SUBDIRECTORY(samples) +ENDIF (NOT WANT_NOEXAMPLES) ADD_SUBDIRECTORY(scripts) SET(SCRIPTER_PLUGIN_UI_SRC -- cgit