couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Lehnardt (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1987) make distcheck broken
Date Sun, 15 Dec 2013 11:55:07 GMT


Jan Lehnardt commented on COUCHDB-1987:

Noah said he’s going to fix this in his build-fauxton branch, but I’d like to explain
this for posterity.

make indeed throws this error, I didn’t suggest it is a grunt.js error, but it’s the way
we use Autotools. In particular, in how we use Autotools for packaging. Each file that is
supposed to end up in our final apache-couchdb-x.y.z.tar.gz tarball needs to be marked as
such in a For Fauxton that means we maintain a list of Fauxton files in src/
specified as `FAUXTON_FILES`:

    fauxton/app/addons/activetasks/assets/less/activetasks.less \
    fauxton/app/addons/activetasks/base.js \
    fauxton/app/addons/activetasks/resources.js \
    …and so on

In that list, there is a line: `fauxton/app/initialize.js`, e.g. where we say that file is
supposed to go into the release tarball. That file however does not exist at the time `make
dist` is run, so make complains. I assume the solution is that make needs to call grunt at
some point to turn fauxton/app/initialize.underscore into fauxton/app/initialize.js and I
think that is what Noah is doing in his branch. I just wanted to explain, why this isn’t
a make error.

> make distcheck broken
> ---------------------
>                 Key: COUCHDB-1987
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Build System
>            Reporter: Jan Lehnardt
> make[1]: Entering directory `/vagrant/src'
> make[1]: *** No rule to make target `fauxton/app/initialize.js', needed by `distdir'.
> make[1]: Leaving directory `/vagrant/src'
> make: *** [distdir] Error 1

This message was sent by Atlassian JIRA

View raw message