Re: [PATCHv2/RFC] gitweb: Prepare for splitting gitweb
Jakub Narebski <jnareb@gmail.com> writes:
Show 17 quoted lines
>> > +install-modules:
>> > + install_dirs=$(sort $(dir $(GITWEB_MODULES))) && \
>> > ...
>
> For example with the following Makefile:
>
> GITWEB_MODULES += GitwebCache/SimpleFileCache.pm
> GITWEB_MODULES += GitwebCache/Capture.pm
> GITWEB_MODULES += GitwebCache/Capture/SelectFH.pm
> GITWEB_MODULES += Gitweb/Config.pm
>
> all:
> @echo $(sort $(dir $(GITWEB_MODULES)))
>
> running 'make' results in:
>
> Gitweb/ GitwebCache/ GitwebCache/Capture/
Try replacing that with:
all:
install_dirs=$(sort $(dir $(GITWEB_MODULES))) && \
echo $$install_dirsperhaps?
Hint: dq.