wmail: no longer install into or uninstall from $HOME.
This commit is contained in:
		
							parent
							
								
									fd74dc6f8a
								
							
						
					
					
						commit
						498c7c8951
					
				
					 2 changed files with 4 additions and 11 deletions
				
			
		| 
						 | 
					@ -4,7 +4,7 @@
 | 
				
			||||||
# Toplevel Makefile.
 | 
					# Toplevel Makefile.
 | 
				
			||||||
# Usage: make ..........: creates the wmail binary.
 | 
					# Usage: make ..........: creates the wmail binary.
 | 
				
			||||||
#        make install ..: installs the binary under your default user binary
 | 
					#        make install ..: installs the binary under your default user binary
 | 
				
			||||||
#                         directory and the rc-file in your home, respectively.
 | 
					#                         directory.
 | 
				
			||||||
#        make uninstall : removes any installed wmail files.
 | 
					#        make uninstall : removes any installed wmail files.
 | 
				
			||||||
#        make clean ....: cleans the src directory.
 | 
					#        make clean ....: cleans the src directory.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -19,15 +19,10 @@ install:
 | 
				
			||||||
	@if ! test -f src/wmail; then $(MAKE) wmail; fi
 | 
						@if ! test -f src/wmail; then $(MAKE) wmail; fi
 | 
				
			||||||
	@echo "Installing the binary under @bindir@."
 | 
						@echo "Installing the binary under @bindir@."
 | 
				
			||||||
	@cp -f src/wmail @bindir@
 | 
						@cp -f src/wmail @bindir@
 | 
				
			||||||
	@echo "Copying .wmailrc to your home directory - you may have a look into"
 | 
					 | 
				
			||||||
	@echo "this file and change it appropriately to suit your personal needs."
 | 
					 | 
				
			||||||
	@cp -f wmailrc-sample $(HOME)/.wmailrc
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
uninstall:
 | 
					uninstall:
 | 
				
			||||||
	@echo "Removing wmail files from your system."
 | 
						@echo "Removing wmail files from your system."
 | 
				
			||||||
	@rm -f @bindir@/wmail
 | 
						@rm -f @bindir@/wmail
 | 
				
			||||||
	@rm -f $(HOME)/.wmailrc
 | 
					 | 
				
			||||||
	@rm -f $(HOME)/.wmail-cksums
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
clean:
 | 
					clean:
 | 
				
			||||||
	@echo "Cleaning src directory."
 | 
						@echo "Cleaning src directory."
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -321,15 +321,13 @@ Porting:
 | 
				
			||||||
Install:
 | 
					Install:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 Call "make install" or copy the binary found in the src subdirectory by hand.
 | 
					 Call "make install" or copy the binary found in the src subdirectory by hand.
 | 
				
			||||||
 Make based installation also copies the provided sample rc-file to ~/.wmailrc
 | 
					 | 
				
			||||||
 but wmail even runs without it.
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
 Keep in mind, libdockapp must be installed properly (i.e. let reside it in
 | 
					 Keep in mind, libdockapp must be installed properly (i.e. let reside it in
 | 
				
			||||||
 your X11 base library directory or let $LD_LIBRARY_PATH point to the lib).
 | 
					 your X11 base library directory or let $LD_LIBRARY_PATH point to the lib).
 | 
				
			||||||
 If you would like to use rc-based configuration, look into the provided
 | 
					 If you would like to use rc-based configuration, look into the provided
 | 
				
			||||||
 sample-file "wmailrc-sample" and use it as a base for your particular needs
 | 
					 sample-file "wmailrc-sample" and use it as a base for your particular needs
 | 
				
			||||||
 by copying it to ~/.wmailrc (make install has done this automatically).
 | 
					 by copying it to ~/.wmailrc.  Note: the name of this rc-file is hard-wired and
 | 
				
			||||||
 Note: the name of this rc-file is hard-wired and cannot be customized.
 | 
					 cannot be customized.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Run:
 | 
					Run:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue