Skip to content
Myr

Ensure that `${builddir}/src` exists

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by mail6543210 · committed by Nico Williams · parent 9c029f7 · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:Makefile.am+2 added
95 unmodified lines
96generate_ver = ver="`{ $(srcdir)/scripts/version || echo '$(VERSION)' ; } | sed 's/.*/\#define JQ_VERSION \"&\"/'`"97.remake-version-h: .FORCE98 @ $(generate_ver); test "x`cat src/version.h 2>/dev/null`" = "x$$ver" || touch .remake-version-h99src/version.h: .remake-version-h100 mkdir -p src101 $(AM_V_GEN) $(generate_ver); echo "$$ver" > $@102src/main.c: src/version.h103104src/builtin.inc: src/builtin.jq105 mkdir -p src106 $(AM_V_GEN) sed -e 's/\\/\\\\/g' -e 's/"/\\"/g' -e 's/^/"/' -e 's/$$/\\n"/' $^ > $@107src/builtin.o: src/builtin.inc108109bin_PROGRAMS = jq
106 unmodified lines