Handle svg icon properly on linux.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1385 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
		
							parent
							
								
									b21d1360a2
								
							
						
					
					
						commit
						032e48c64b
					
				| 
		 Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB  | 
@ -430,6 +430,7 @@ install : $(BIN)
 | 
				
			|||||||
	# Icon and desktop file for debian
 | 
						# Icon and desktop file for debian
 | 
				
			||||||
	$(CP) ../misc/unix/grafx2.desktop $(DESTDIR)$(datadir)/applications/
 | 
						$(CP) ../misc/unix/grafx2.desktop $(DESTDIR)$(datadir)/applications/
 | 
				
			||||||
	$(CP) ../misc/unix/grafx2.xpm $(DESTDIR)$(datadir)/icons/
 | 
						$(CP) ../misc/unix/grafx2.xpm $(DESTDIR)$(datadir)/icons/
 | 
				
			||||||
 | 
						$(CP) ../share/icons/grafx2.svg $(DESTDIR)$(datadir)/icons/
 | 
				
			||||||
	@echo Install complete
 | 
						@echo Install complete
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
# Linux uninstallation of the program
 | 
					# Linux uninstallation of the program
 | 
				
			||||||
@ -445,6 +446,7 @@ uninstall :
 | 
				
			|||||||
	# Icon and desktop file for debian
 | 
						# Icon and desktop file for debian
 | 
				
			||||||
	$(DELCOMMAND) $(DESTDIR)$(datadir)/applications/grafx2.desktop
 | 
						$(DELCOMMAND) $(DESTDIR)$(datadir)/applications/grafx2.desktop
 | 
				
			||||||
	$(DELCOMMAND) $(DESTDIR)$(datadir)/icons/grafx2.xpm
 | 
						$(DELCOMMAND) $(DESTDIR)$(datadir)/icons/grafx2.xpm
 | 
				
			||||||
 | 
						$(DELCOMMAND) $(DESTDIR)$(datadir)/icons/grafx2.svg
 | 
				
			||||||
	@echo Uninstall complete
 | 
						@echo Uninstall complete
 | 
				
			||||||
 | 
					
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user