cake
/
p7utils
Archived
1
0
Fork 0

Changed manpages options, made the building optional.

This commit is contained in:
Thomas Touhey 2017-03-12 11:55:53 +01:00
parent 3f46c7a7c1
commit f1ea300340
2 changed files with 4 additions and 3 deletions

View File

@ -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.)

4
configure vendored
View File

@ -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#*=}" ;;