mirror of
				https://github.com/ItsDrike/hyprland-dwindle-autogroup.git
				synced 2025-11-04 01:16:36 +00:00 
			
		
		
		
	Add INSTALL_LOCATION variable
This commit is contained in:
		
							parent
							
								
									e35c1a136d
								
							
						
					
					
						commit
						e727aed197
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		
							
								
								
									
										5
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -4,6 +4,8 @@
 | 
			
		|||
 | 
			
		||||
PLUGIN_NAME=dwindle-autogroup
 | 
			
		||||
 | 
			
		||||
INSTALL_LOCATION=${HOME}/.local/share/hyprload/plugins/bin
 | 
			
		||||
 | 
			
		||||
SOURCE_FILES=$(wildcard src/*.cpp)
 | 
			
		||||
 | 
			
		||||
COMPILE_FLAGS=-g -fPIC --no-gnu-unique -std=c++23
 | 
			
		||||
| 
						 | 
				
			
			@ -17,7 +19,8 @@ LINK_FLAGS=-shared
 | 
			
		|||
all: check_env $(PLUGIN_NAME).so
 | 
			
		||||
 | 
			
		||||
install: all
 | 
			
		||||
	cp $(PLUGIN_NAME).so ${HOME}/.local/share/hyprload/plugins/bin
 | 
			
		||||
	mkdir -p $(INSTALL_LOCATION)
 | 
			
		||||
	cp $(PLUGIN_NAME).so $(INSTALL_LOCATION)
 | 
			
		||||
 | 
			
		||||
check_env:
 | 
			
		||||
	@if ! pkg-config --exists hyprland; then \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue