use the install command to install
This commit is contained in:
		
							
								
								
									
										4
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								Makefile
									
									
									
									
									
								
							| @@ -34,9 +34,7 @@ clean: | |||||||
| 	rm -f dwl *.o xdg-shell-protocol.h xdg-shell-protocol.c | 	rm -f dwl *.o xdg-shell-protocol.h xdg-shell-protocol.c | ||||||
|  |  | ||||||
| install: dwl | install: dwl | ||||||
| 	mkdir -p $(PREFIX)/bin | 	install -D dwl $(PREFIX)/bin/dwl | ||||||
| 	cp -f dwl $(PREFIX)/bin |  | ||||||
| 	chmod 755 $(PREFIX)/bin/dwl |  | ||||||
|  |  | ||||||
| .DEFAULT_GOAL=dwl | .DEFAULT_GOAL=dwl | ||||||
| .PHONY: clean | .PHONY: clean | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user