Fix URL handling and more (Gavin Troy, Ypnose, Karol Blazewicz)..
[s-mailx.git] / makefile
blob0003bf6ebe1c3fa0141f7b50a0427643bbe841b4
1 #@ Makefile for S-nail.
2 #@ Adjustments have to be made in `conf.rc' (or on the command line).
3 #@ See the file `INSTALL' if you need help.
5 .PHONY: all install uninstall clean distclean config build test
7 all: config
8 @LC_ALL=C $(MAKE) -f mk.mk all
9 install: all
10 @LC_ALL=C $(MAKE) -f mk.mk install
11 uninstall:
12 @$(_prestop) && LC_ALL=C $(MAKE) -f mk.mk uninstall
13 clean:
14 @$(_prestop) && LC_ALL=C $(MAKE) -f mk.mk clean
15 distclean:
16 @$(_prestop) && LC_ALL=C $(MAKE) -f mk.mk distclean
18 config:
19 @$(_prego)
20 build:
21 @$(_prestop) && LC_ALL=C $(MAKE) -f mk.mk all
22 test:
23 @$(_prestop) && LC_ALL=C $(MAKE) -f mk.mk test
24 packager-install:
25 @$(_prestop) && LC_ALL=C $(MAKE) -f mk.mk install
27 devel:
28 @WANT_DEBUG=1 WANT_GSSAPI=1;\
29 export WANT_DEBUG WANT_GSSAPI;\
30 $(_prego) && LC_ALL=C $(MAKE) -f mk.mk _update-version &&\
31 LC_ALL=C $(MAKE) -f mk.mk all
32 _update-version:
33 @$(_prego) && LC_ALL=C $(MAKE) -f mk.mk _update-version
34 _update-release:
35 @$(_prego) && LC_XX=${LC_ALL} LC_ALL=C $(MAKE) -f mk.mk _update-release
37 _prego = $(SHELL) ./mk-conf.sh
38 _prestop = [ -f ./mk.mk ] || {\
39 echo 'S-nail is not configured, nothing to do';\
40 exit 1;\
43 # vim:set fenc=utf-8 filetype=make: