* Fix DESTDIR builds.
This commit is contained in:
parent
5414b3b2db
commit
e07d7284a2
1 changed files with 9 additions and 10 deletions
19
externals/Makefile.am
vendored
19
externals/Makefile.am
vendored
|
@ -18,15 +18,15 @@ if HAVE_ATERM
|
||||||
build-aterm:
|
build-aterm:
|
||||||
else
|
else
|
||||||
build-aterm: $(ATERM)
|
build-aterm: $(ATERM)
|
||||||
(pfx=`pwd` && \
|
(cd $(ATERM) && \
|
||||||
cd $(ATERM) && \
|
CC="$(CC)" ./configure --prefix=$(pkglibdir)/dummy --libdir=${pkglibdir} && \
|
||||||
CC="$(CC)" ./configure --prefix=$$pfx/inst-aterm --libdir=${pkglibdir} && \
|
|
||||||
$(MAKE) && \
|
$(MAKE) && \
|
||||||
$(MAKE) check)
|
$(MAKE) check)
|
||||||
touch build-aterm
|
touch build-aterm
|
||||||
|
|
||||||
install-exec-local::
|
install-exec-local::
|
||||||
cd $(ATERM) && make install
|
cd $(ATERM) && make install
|
||||||
|
rm -rf "$(DESTDIR)/$(pkglibdir)/dummy"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -48,10 +48,9 @@ if HAVE_BZIP2
|
||||||
build-bzip2:
|
build-bzip2:
|
||||||
else
|
else
|
||||||
build-bzip2: $(BZIP2)
|
build-bzip2: $(BZIP2)
|
||||||
(pfx=`pwd` && \
|
(cd $(BZIP2) && \
|
||||||
cd $(BZIP2) && \
|
|
||||||
$(MAKE) && \
|
$(MAKE) && \
|
||||||
$(MAKE) install PREFIX=$$pfx/inst-bzip2)
|
$(MAKE) install PREFIX=$(abs_builddir)/inst-bzip2)
|
||||||
touch build-bzip2
|
touch build-bzip2
|
||||||
|
|
||||||
install-exec-local::
|
install-exec-local::
|
||||||
|
@ -79,14 +78,14 @@ if HAVE_SQLITE
|
||||||
build-sqlite:
|
build-sqlite:
|
||||||
else
|
else
|
||||||
build-sqlite: $(SQLITE)
|
build-sqlite: $(SQLITE)
|
||||||
(pfx=`pwd` && \
|
(cd $(SQLITE) && \
|
||||||
cd $(SQLITE) && \
|
CC="$(CC)" ./configure --disable-static --prefix=$(pkglibdir)/dummy --libdir=${pkglibdir} && \
|
||||||
CC="$(CC)" ./configure --disable-static --prefix=$$pfx/inst-sqlite --libdir=${pkglibdir} && \
|
|
||||||
$(MAKE) )
|
$(MAKE) )
|
||||||
touch build-sqlite
|
touch build-sqlite
|
||||||
|
|
||||||
install-exec-local::
|
install-exec-local::
|
||||||
cd $(SQLITE) && make install
|
cd $(SQLITE) && make install
|
||||||
|
rm -rf "$(DESTDIR)/$(pkglibdir)/dummy"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -97,4 +96,4 @@ EXTRA_DIST = $(ATERM).tar.gz $(BZIP2).tar.gz $(SQLITE_TAR) max-long.patch sizeof
|
||||||
clean:
|
clean:
|
||||||
$(RM) -f build-aterm build-bzip2 build-sqlite
|
$(RM) -f build-aterm build-bzip2 build-sqlite
|
||||||
$(RM) -rf $(ATERM) $(BZIP2) $(SQLITE)
|
$(RM) -rf $(ATERM) $(BZIP2) $(SQLITE)
|
||||||
$(RM) -rf inst-aterm inst-bzip2 inst-sqlite
|
$(RM) -rf inst-bzip2
|
||||||
|
|
Loading…
Reference in a new issue