Commit 3cf9720c authored by jaq's avatar jaq

- Add ogg libraries to liboggz link.

- Use DESTDIR prefix for installing to match behaviour of
  the rest of automake.


git-svn-id: http://svn.annodex.net/liboggz/trunk@403 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent 390dd5a9
......@@ -53,21 +53,21 @@ dist-hook:
install-data-local: doxygen-build.stamp
$(mkinstalldirs) $(docdir)
$(mkinstalldirs) $(DESTDIR)$(docdir)
if test -d liboggz; then \
for dir in liboggz/*; do \
if test -d $$dir; then \
b=`basename $$dir`; \
$(mkinstalldirs) $(docdir)/$$b; \
$(mkinstalldirs) $(DESTDIR)$(docdir)/$$b; \
for f in $$dir/*; do \
$(INSTALL_DATA) $$f $(docdir)/$$b; \
$(INSTALL_DATA) $$f $(DESTDIR)$(docdir)/$$b; \
done \
fi \
done \
fi
uninstall-local:
rm -rf $(docdir)
rm -rf $(DESTDIR)$(docdir)
clean-local:
if test -d liboggz; then rm -rf liboggz; fi
......
......@@ -19,3 +19,4 @@ liboggz_la_SOURCES = \
oggz_vector.c oggz_vector.h
liboggz_la_LDFLAGS = -version-info @SHARED_VERSION_INFO@ @SHLIB_VERSION_ARG@
liboggz_la_LIBADD = @OGG_LIBS@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment