Changed manpages options, made the building optional.
This commit is contained in:
parent
3f46c7a7c1
commit
f1ea300340
3
Makefile
3
Makefile
|
@ -149,7 +149,8 @@ $(eval $(call make-binaryobj-rule,$(bin),$(obj)))))
|
|||
define make-binary-rules
|
||||
$1$(if $(FOR_WINDOWS),.exe): $(SRC_$1:%=$(OBJDIR)/$1/%.o) | $(OBJDIR)/$1
|
||||
$(call bcmd,ld,$$@,$(LD) -o $$@ $$^ $(LDFLAGS_$1))
|
||||
all-$1 all-$1.exe: $(CHECKCFG) $1$(if $(FOR_WINDOWS),.exe) all-doc-$1
|
||||
all-$1 all-$1.exe: $(CHECKCFG) $1$(if $(FOR_WINDOWS),.exe) \
|
||||
$(if $(INSTALL_MANPAGES),all-doc-$1)
|
||||
|
||||
clean-$1 clean-$1.exe:
|
||||
$(call rmsg,Removing $1 and its objects directory.)
|
||||
|
|
|
@ -49,7 +49,7 @@ Build options:
|
|||
--default-storage=STOR the default storage device [$default_storage]
|
||||
|
||||
Installation options:
|
||||
--noinstall-manpages do not install manpages
|
||||
--no-manpages do not install manpages
|
||||
|
||||
Installation directories:
|
||||
--root=ROOT installation root [$root]
|
||||
|
@ -116,7 +116,7 @@ for arg ; do case "$arg" in
|
|||
fi
|
||||
# then set
|
||||
default_storage="$storage" ;;
|
||||
--noinstall-manpages) install_manpages= ;;
|
||||
--no-manpages) install_manpages= ;;
|
||||
--root=*) root="${arg#*=}" ;;
|
||||
--prefix=*) prefix="${arg#*=}" ;;
|
||||
--bindir=*) bindir="${arg#*=}" ;;
|
||||
|
|
Reference in New Issue