mirror of
				https://github.com/kastdeur/pipeband-music.git
				synced 2025-10-31 02:16:34 +01:00 
			
		
		
		
	New ./build script to compile score
Removed ./defs folder, left 'defs/naming.ily -> defs.ily' only ./build script uses commandline arguments of lilypond itself. Possible to define external stylesheet in ./build script. This might phase out ./makedrum
This commit is contained in:
		
							parent
							
								
									1ecf854c2b
								
							
						
					
					
						commit
						d314f76966
					
				
					 7 changed files with 46 additions and 22 deletions
				
			
		
							
								
								
									
										26
									
								
								build
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										26
									
								
								build
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,26 @@
 | 
			
		|||
#!/bin/bash
 | 
			
		||||
# Wrapper script for pipeband scores
 | 
			
		||||
#
 | 
			
		||||
# It uses (standard) commandline options of lilypond
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
 | 
			
		||||
LIB=~/projects/scoring/lib
 | 
			
		||||
 | 
			
		||||
# Change the Stylesheet variable if you want different 'settings'
 | 
			
		||||
# It is handy to include ./defs.ily since it defines some text variables,
 | 
			
		||||
# it will complain otherwise about not finding variables
 | 
			
		||||
#STYLESHEET=$DIR/defs.ily
 | 
			
		||||
STYLESHEET="$LIB/styles/pipeband.sly"
 | 
			
		||||
 | 
			
		||||
# Add lilydrum to the search path
 | 
			
		||||
LILYDRUM="$LIB/lilydrum/"
 | 
			
		||||
# Add custom bagpipe.ly to search path
 | 
			
		||||
BAGPIPELY="$LIB/bagpipe.ly/"
 | 
			
		||||
 | 
			
		||||
# Options by this script 
 | 
			
		||||
# see http://lilypond.org/doc/v2.18/Documentation/usage/command_002dline-usage#advanced-command-line-options-for-lilypond
 | 
			
		||||
OPTIONS="-dno-strip-output-dir -dno-point-and-click -dpaper-size=\"a4landscape\""
 | 
			
		||||
 | 
			
		||||
# Execute
 | 
			
		||||
lilypond -dinclude-settings=$STYLESHEET -I $LILYDRUM -I $BAGPIPELY $OPTIONS $@
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue