Included Makefile will recreate the OpenLayers.js using the statusnet.cfg strip configuration file and yui-compressor to do some extra minification at the end. Requires fetching the OpenLayers source download and dropping it in: http://openlayers.org/download/OpenLayers-2.10.tar.gz
		
			
				
	
	
		
			16 lines
		
	
	
		
			313 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			313 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| .fake: clean all
 | |
| 
 | |
| TARGET=OpenLayers.js
 | |
| SOURCEDIR=OpenLayers-2.10/
 | |
| HERE=`pwd`
 | |
| 
 | |
| all: $(TARGET)
 | |
| 
 | |
| clean:
 | |
| 	rm -f $(TARGET)
 | |
| 
 | |
| $(TARGET): statusnet.cfg
 | |
| 	cp -f statusnet.cfg $(SOURCEDIR)/build/statusnet.cfg
 | |
| 	(cd $(SOURCEDIR)/build && ./build.py statusnet.cfg)
 | |
| 	yui-compressor $(SOURCEDIR)/build/OpenLayers.js -o $(TARGET)
 |