quantum/esos

Should use 'clean' instead of 'distclean' in Makefile.in for the nginx target

Closed this issue · 3 comments

The nginx.chroot target in Makefile.in references "distclean" but the nginx init file needs "clean".

Makefile.in
"nginx.chroot: glibc.chroot pcre.chroot zlib.chroot openssl.chroot
$(QUIET) $(ECHO) "### Building $(@)"
$(call chroot_only)
cd $(tgt_src_dir) && ./configure --prefix=/var/lib/nginx
--sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf
--pid-path=/var/run/nginx.pid
--error-log-path=/var/log/nginx/error.log
--http-log-path=/var/log/nginx/access.log
--with-http_ssl_module
$(MAKE) --directory=$(tgt_src_dir)
$(MAKE) --directory=$(tgt_src_dir) install
$(MAKE) --directory=$(tgt_src_dir) distclean
$(TOUCH) $(@)
$(QUIET) $(ECHO) "### Done $(@)""

/.../esos/work/chroot/sources/nginx-1.16.0/auto/init
"# create Makefile

cat << END > Makefile

default: build

clean:
rm -rf Makefile $NGX_OBJS
END"

Thank you for finding this, I'll fix this in next push.

Does this mean you were able to overcome your bootstrap / perl build issue?

Thank you for finding this, I'll fix this in next push.

Does this mean you were able to overcome your bootstrap / perl build issue?

I'm glad i could help.
Didn't get to the bottom of that bootstrap/perl issue, but it didn't seem to have any impact on the build. I'm still testing the build though.

This has been resolved.