1 # process this file with configure to create a Makefile from it
5 # Usage: make ..........: creates the wmail binary.
6 # make install ..: installs the binary under your default user binary
7 # directory and the rc-file in your home, respectively.
8 # make uninstall : removes any installed wmail files.
9 # make clean ....: cleans the src directory.
13 default
all target
: wmail
16 @cd src
; $(MAKE
) -f Makefile wmail
19 @if
! test -f src
/wmail
; then
$(MAKE
) wmail
; fi
20 @echo
"Installing the binary under @bindir@."
21 @cp
-f src
/wmail @
bindir@
22 @echo
"Copying .wmailrc to your home directory - you may have a look into"
23 @echo
"this file and change it appropriately to suit your personal needs."
24 @cp
-f wmailrc-sample
$(HOME
)/.wmailrc
27 @echo
"Removing wmail files from your system."
29 @
rm -f
$(HOME
)/.wmailrc
30 @
rm -f
$(HOME
)/.wmail-cksums
33 @echo
"Cleaning src directory."
34 @cd src
; $(MAKE
) -f Makefile
clean