Revision: 773 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=773&view=rev Author: hyperair Date: 2009-06-22 10:04:03 +0000 (Mon, 22 Jun 2009)
Log Message: ----------- Avoid creating empty directories when disabled
Modified Paths: -------------- trunk/geany-plugins/geanylua/Makefile.am trunk/geany-plugins/geanylua/docs/Makefile.am trunk/geany-plugins/geanylua/examples/dialogs/Makefile.am trunk/geany-plugins/geanylua/examples/edit/Makefile.am trunk/geany-plugins/geanylua/examples/info/Makefile.am trunk/geany-plugins/geanylua/examples/scripting/Makefile.am trunk/geany-plugins/geanylua/examples/work/Makefile.am
Modified: trunk/geany-plugins/geanylua/Makefile.am =================================================================== --- trunk/geany-plugins/geanylua/Makefile.am 2009-06-22 10:02:26 UTC (rev 772) +++ trunk/geany-plugins/geanylua/Makefile.am 2009-06-22 10:04:03 UTC (rev 773) @@ -1,13 +1,13 @@ # don't install docs if disabled if ENABLE_GEANYLUA include $(top_srcdir)/build/vars.auxfiles.mk +plugin = geanylua else include $(top_srcdir)/build/vars.docs.mk EXTRA_DIST = $(AUXFILES) endif include $(top_srcdir)/build/vars.build.mk
-plugin = geanylua
# don't build if disabled if ENABLE_GEANYLUA
Modified: trunk/geany-plugins/geanylua/docs/Makefile.am =================================================================== --- trunk/geany-plugins/geanylua/docs/Makefile.am 2009-06-22 10:02:26 UTC (rev 772) +++ trunk/geany-plugins/geanylua/docs/Makefile.am 2009-06-22 10:04:03 UTC (rev 773) @@ -1,4 +1,8 @@ +# don't include if geanylua's disabled, otherwise a whole bunch of empty +# directories will be created +if ENABLE_GEANYLUA include $(top_srcdir)/build/vars.docs.mk +endif
plugin = geanylua
Modified: trunk/geany-plugins/geanylua/examples/dialogs/Makefile.am =================================================================== --- trunk/geany-plugins/geanylua/examples/dialogs/Makefile.am 2009-06-22 10:02:26 UTC (rev 772) +++ trunk/geany-plugins/geanylua/examples/dialogs/Makefile.am 2009-06-22 10:04:03 UTC (rev 773) @@ -1,8 +1,9 @@ +# avoid creating empty directories if disabled +if ENABLE_GEANYLUA include $(top_srcdir)/build/vars.docs.mk - plugin = geanylua - dialogsdir = $(examplesdir)/dialogs +endif
EXAMPLES = \ basic-dialogs.lua \
Modified: trunk/geany-plugins/geanylua/examples/edit/Makefile.am =================================================================== --- trunk/geany-plugins/geanylua/examples/edit/Makefile.am 2009-06-22 10:02:26 UTC (rev 772) +++ trunk/geany-plugins/geanylua/examples/edit/Makefile.am 2009-06-22 10:04:03 UTC (rev 773) @@ -1,7 +1,10 @@ +# avoid creating empty directories if disabled +if ENABLE_GEANYLUA include $(top_srcdir)/build/vars.docs.mk - plugin = geanylua editdir = $(examplesdir)/edit +endif + EXAMPLES = \ calculator.lua \ lua-replace.lua \
Modified: trunk/geany-plugins/geanylua/examples/info/Makefile.am =================================================================== --- trunk/geany-plugins/geanylua/examples/info/Makefile.am 2009-06-22 10:02:26 UTC (rev 772) +++ trunk/geany-plugins/geanylua/examples/info/Makefile.am 2009-06-22 10:04:03 UTC (rev 773) @@ -1,7 +1,10 @@ +# avoid creating empty directories if disabled +if ENABLE_GEANYLUA include $(top_srcdir)/build/vars.docs.mk - plugin = geanylua exampleinfodir = $(examplesdir)/info +endif + EXAMPLES = \ about.lua \ app-information.lua \
Modified: trunk/geany-plugins/geanylua/examples/scripting/Makefile.am =================================================================== --- trunk/geany-plugins/geanylua/examples/scripting/Makefile.am 2009-06-22 10:02:26 UTC (rev 772) +++ trunk/geany-plugins/geanylua/examples/scripting/Makefile.am 2009-06-22 10:04:03 UTC (rev 773) @@ -1,7 +1,10 @@ +# avoid creating empty directories if disabled +if ENABLE_GEANYLUA include $(top_srcdir)/build/vars.docs.mk - plugin = geanylua scriptingdir = $(examplesdir)/scripting +endif + EXAMPLES = \ help.lua \ open-script.lua \
Modified: trunk/geany-plugins/geanylua/examples/work/Makefile.am =================================================================== --- trunk/geany-plugins/geanylua/examples/work/Makefile.am 2009-06-22 10:02:26 UTC (rev 772) +++ trunk/geany-plugins/geanylua/examples/work/Makefile.am 2009-06-22 10:04:03 UTC (rev 773) @@ -1,7 +1,10 @@ +# avoid creating empty directories if disabled +if ENABLE_GEANYLUA include $(top_srcdir)/build/vars.docs.mk - plugin = geanylua workdir = $(examplesdir)/work +endif + EXAMPLES = \ 01.edit-test-script.lua \ 02.run-test-script.lua \
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.