Update Makefile
This commit is contained in:
		
							parent
							
								
									bc3e0193a8
								
							
						
					
					
						commit
						8c7e2f0998
					
				
					 1 changed files with 7 additions and 6 deletions
				
			
		
							
								
								
									
										13
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										13
									
								
								Makefile
									
										
									
									
									
								
							|  | @ -1,6 +1,7 @@ | ||||||
| 
 | 
 | ||||||
| .PHONY: all install clean uninstall | .PHONY: all install clean uninstall | ||||||
| 
 | 
 | ||||||
|  | DESTDIR= | ||||||
| PREFIX=/usr/local | PREFIX=/usr/local | ||||||
| 
 | 
 | ||||||
| CP=cp | CP=cp | ||||||
|  | @ -12,14 +13,14 @@ RM=rm -f -v | ||||||
| all: | all: | ||||||
| 
 | 
 | ||||||
| install: | install: | ||||||
| 	$(INSTALL) -Dm0755 danmaku2ass.py "$(PREFIX)/bin/danmaku2ass" | 	$(INSTALL) -Dm0755 danmaku2ass.py "$(DESTDIR)$(PREFIX)/bin/danmaku2ass" | ||||||
| 	$(MKDIR) "$(PREFIX)/share" | 	$(MKDIR) "$(DESTDIR)$(PREFIX)/share" | ||||||
| 	$(CP) -R locale "$(PREFIX)/share/" | 	$(CP) -R locale "$(DESTDIR)$(PREFIX)/share/" | ||||||
| 
 | 
 | ||||||
| clean: | clean: | ||||||
| 	$(RM) danmaku2ass.pyo | 	$(RM) -R __pycache__ | ||||||
| 
 | 
 | ||||||
| uninstall: | uninstall: | ||||||
| 	$(RM) "$(PREFIX)/bin/danmaku2ass" | 	$(RM) "$(DESTDIR)$(PREFIX)/bin/danmaku2ass" | ||||||
| 	$(RM) "$(PREFIX)/share/locale/"*"/LC_MESSAGES/danmaku2ass."* | 	$(RM) "$(DESTDIR)$(PREFIX)/share/locale/"*"/LC_MESSAGES/danmaku2ass."* | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Star Brilliant
						Star Brilliant