Fixed --disable-scripting build
[clinton/bobotpp.git] / scripts / Makefile.am
index a6d48ad..4d31c60 100644 (file)
@@ -1,3 +1,4 @@
+if SCRIPTING
 scriptsdir = $(datadir)/bobotpp/scripts
 
 scripts_DATA = bobot-utils.scm
@@ -5,4 +6,5 @@ scripts_DATA = bobot-utils.scm
 guilesitebotdir = @GUILE_SITE@/bobotpp
 guilesitebot_DATA = bot.scm
 
-EXTRA_DIST = $(scripts_DATA) $(guilesitebot_DATA)
\ No newline at end of file
+EXTRA_DIST = $(scripts_DATA) $(guilesitebot_DATA)
+endif
\ No newline at end of file