RPM targets in makefile
This commit is contained in:
		
							parent
							
								
									c43aed2fcd
								
							
						
					
					
						commit
						ffac420762
					
				
					 1 changed files with 10 additions and 0 deletions
				
			
		
							
								
								
									
										10
									
								
								makefile
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								makefile
									
										
									
									
									
								
							|  | @ -40,3 +40,13 @@ uninstall: | |||
| 	rm -f ~/.local/share/applications/$(PROJ_NAME).desktop | ||||
| 	rm -f ~/.local/share/icons/$(PROJ_NAME).svg | ||||
| 	update-desktop-database ~/.local/share/applications/ | ||||
| 
 | ||||
| # Install the dependencies for building the RPM package
 | ||||
| rpm-deps: | ||||
| 	sudo dnf install rpmdevtools | ||||
| 	sudo dnf builddep packaging/$(PROJECT).spec | ||||
| 
 | ||||
| # This step requires the rpm-deps specified above
 | ||||
| rpm: | ||||
| 	spectool -g -R packaging/$(PROJECT).spec | ||||
| 	rpmbuild -bb packaging/$(PROJECT).spec | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Imbus
						Imbus