* Prevent spurious rebuilds of db/aterm.
This commit is contained in:
parent
0a0c1fcb4d
commit
5d7a20dac3
1 changed files with 10 additions and 2 deletions
12
externals/Makefile.am
vendored
12
externals/Makefile.am
vendored
|
@ -9,7 +9,11 @@ $(DB).tar.gz:
|
||||||
$(DB): $(DB).tar.gz
|
$(DB): $(DB).tar.gz
|
||||||
gunzip < $(DB).tar.gz | tar xvf -
|
gunzip < $(DB).tar.gz | tar xvf -
|
||||||
|
|
||||||
build-db: $(DB)
|
have-db:
|
||||||
|
$(MAKE) $(DB)
|
||||||
|
touch have-db
|
||||||
|
|
||||||
|
build-db: have-db
|
||||||
(pfx=`pwd` && \
|
(pfx=`pwd` && \
|
||||||
cd $(DB)/build_unix && \
|
cd $(DB)/build_unix && \
|
||||||
CC=$(CC) CXX=$(CXX) ../dist/configure --prefix=$$pfx/inst --enable-cxx --disable-shared && \
|
CC=$(CC) CXX=$(CXX) ../dist/configure --prefix=$$pfx/inst --enable-cxx --disable-shared && \
|
||||||
|
@ -29,7 +33,11 @@ $(ATERM).tar.gz:
|
||||||
$(ATERM): $(ATERM).tar.gz
|
$(ATERM): $(ATERM).tar.gz
|
||||||
gunzip < $(ATERM).tar.gz | tar xvf -
|
gunzip < $(ATERM).tar.gz | tar xvf -
|
||||||
|
|
||||||
build-aterm: $(ATERM)
|
have-aterm:
|
||||||
|
$(MAKE) $(ATERM)
|
||||||
|
touch have-aterm
|
||||||
|
|
||||||
|
build-aterm: have-aterm
|
||||||
(pfx=`pwd` && \
|
(pfx=`pwd` && \
|
||||||
cd $(ATERM) && \
|
cd $(ATERM) && \
|
||||||
./configure --prefix=$$pfx/inst && \
|
./configure --prefix=$$pfx/inst && \
|
||||||
|
|
Loading…
Reference in a new issue