finishing touches on README and Makefile
This commit is contained in:
		
							parent
							
								
									f6a794363f
								
							
						
					
					
						commit
						a31d04c2e8
					
				
							
								
								
									
										1
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								Makefile
									
									
									
									
									
								
							@ -18,6 +18,7 @@ install:
 | 
				
			|||||||
install-openrc:
 | 
					install-openrc:
 | 
				
			||||||
	cp init.d/$(BIN) /etc/init.d/$(BIN)
 | 
						cp init.d/$(BIN) /etc/init.d/$(BIN)
 | 
				
			||||||
	cp conf.d/$(BIN) /etc/conf.d/$(BIN)
 | 
						cp conf.d/$(BIN) /etc/conf.d/$(BIN)
 | 
				
			||||||
 | 
						rc-update add homemade_speedstep
 | 
				
			||||||
 | 
					
 | 
				
			||||||
clean:
 | 
					clean:
 | 
				
			||||||
	$(RM) -r $(BINDIR)/*
 | 
						$(RM) -r $(BINDIR)/*
 | 
				
			||||||
 | 
				
			|||||||
@ -19,6 +19,8 @@ Run `make` to compile the program, the binary will be placed in the `bin` direct
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
You can run it from there or you can run `make install` to place it in the `/usr/bin` folder.
 | 
					You can run it from there or you can run `make install` to place it in the `/usr/bin` folder.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Run `make install-openrc` to install the program as an openrc service.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Run `make debug` to compile the program with debug symbols (only useful if you wish to debug it).
 | 
					Run `make debug` to compile the program with debug symbols (only useful if you wish to debug it).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Run `make clean` to remove the compiled binary (note: only from `bin`, to remove from `/usr/bin` run `rm /usr/bin/homemade_speedstep`).
 | 
					Run `make clean` to remove the compiled binary (note: only from `bin`, to remove from `/usr/bin` run `rm /usr/bin/homemade_speedstep`).
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user