]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/topdocs/SConscript
Clean up buildscripts
[lilypond.git] / Documentation / topdocs / SConscript
index ee3bc664bde73d2c5313356fa9b861f8820b2645..7ef165cd93241e5eddfa272af96f7606082b4a7b 100644 (file)
@@ -1,10 +1,14 @@
 # -*-python-*-
 
-import os
+Import ('env', 'src_glob', 'install')
 
-Import ('env')
-telys = env['base_glob'] (env, '*.tely')
-texis = env['base_glob'] (env, '*.texi') + map (env.TELY, telys)
+tely = src_glob ('*.tely')
+texi = src_glob ('*.texi') + map (env.TEXI, tely)
 
-htmls = map (env.HTML, texis)
-env.Alias ('doc', htmls)
+txt = map (env.TXT, texi)
+html = map (env.HTML, texi)
+
+env.Alias ('doc', txt)
+env.Alias ('doc', html)
+
+install (txt, env['sharedir_doc_package'])