summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2020-12-29 21:24:04 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2023-11-29 21:58:00 -0600
commit1be30282b4062745d63e85eec6c560666c0ac5ae (patch)
tree9c2d4fb46a1da18e9a64b8fef660e52f625e2357
parentcffa1f20260010c5a4fc4444f92591eda4c9b163 (diff)
downloadapk-tools-1be30282b4062745d63e85eec6c560666c0ac5ae.tar.gz
apk-tools-1be30282b4062745d63e85eec6c560666c0ac5ae.tar.bz2
apk-tools-1be30282b4062745d63e85eec6c560666c0ac5ae.tar.xz
apk-tools-1be30282b4062745d63e85eec6c560666c0ac5ae.zip
Allow build to continue if help.h/manpages are already generated
This would allow future distribution of tarballs that already have help.h and the doc/*.[0-9] manpages pre-generated. Such a tarball could then be built successfully with LUA=no.
-rw-r--r--Make.rules2
-rw-r--r--src/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/Make.rules b/Make.rules
index 1f515ea..8d09926 100644
--- a/Make.rules
+++ b/Make.rules
@@ -287,7 +287,7 @@ __scdocs := $(addprefix $(obj)/,$(sort $(scdocs-y)))
nontargets += $(__scdocs)
docs += $(__scdocs)
-$(__scdocs): $(obj)/%: $(src)/%.scd FORCE
+$(__scdocs): $(obj)/%: $(src)/%.scd
$(call if_changed,scdoc)
####
diff --git a/src/Makefile b/src/Makefile
index 4ce3750..497b6e4 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -97,7 +97,7 @@ else
cmd_genhelp = echo \\\#define NO_HELP > $@
endif
-$(obj)/help.h: $(src)/genhelp.lua $(wildcard doc/apk*.8.scd) FORCE
+$(obj)/help.h: $(src)/genhelp.lua $(wildcard doc/apk*.8.scd)
$(call if_changed,genhelp)
CFLAGS_help.o := -I$(obj)