wmail: no longer install into or uninstall from $HOME.

This commit is contained in:
Jeremy Sowden 2019-06-07 09:52:18 +01:00 committed by Carlos R. Mafra
parent fd74dc6f8a
commit 498c7c8951
2 changed files with 4 additions and 11 deletions

View file

@ -4,7 +4,7 @@
# Toplevel Makefile.
# Usage: make ..........: creates the wmail 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 clean ....: cleans the src directory.
@ -19,16 +19,11 @@ install:
@if ! test -f src/wmail; then $(MAKE) wmail; fi
@echo "Installing the binary under @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:
@echo "Removing wmail files from your system."
@rm -f @bindir@/wmail
@rm -f $(HOME)/.wmailrc
@rm -f $(HOME)/.wmail-cksums
clean:
@echo "Cleaning src directory."
@cd src; $(MAKE) -f Makefile clean
@cd src; $(MAKE) -f Makefile clean

View file

@ -321,15 +321,13 @@ Porting:
Install:
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
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
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).
Note: the name of this rc-file is hard-wired and cannot be customized.
by copying it to ~/.wmailrc. Note: the name of this rc-file is hard-wired and
cannot be customized.
Run: