Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Makefile.am: update for out-of-tree builds

  • Loading branch information...
commit 815fef2ffe91a61e76095b834acefbef8d0a63c0 1 parent 2de6715
@kfish authored
Showing with 16 additions and 14 deletions.
  1. +16 −14 doc/Makefile.am
View
30 doc/Makefile.am
@@ -2,7 +2,7 @@ docdir=$(prefix)/share/doc/@PACKAGE@
EXTRA_DIST = Doxyfile.in
-doc_DATA = doxygen-build.stamp
+noinst_DATA = doxygen-build.stamp
if HAVE_DOXYGEN
doxygen-build.stamp: Doxyfile $(top_srcdir)/include/remix/*.h
@@ -20,33 +20,35 @@ dist-hook:
if test -d libremix; then \
mkdir $(dist_docdir); \
for dir in libremix/*; do \
- if test -d $$dir; then \
- b=`basename $$dir`; \
- mkdir $(dist_docdir)/$$b; \
- for f in $$dir/*; do \
- cp -p $$f $(dist_docdir)/$$b; \
- done \
- fi \
- done \
+ b=`basename $$dir`; \
+ if test $$b != "CVS"; then \
+ if test -d $$dir; then \
+ mkdir $(dist_docdir)/$$b; \
+ for f in $$dir/*; do \
+ cp -p $$f $(dist_docdir)/$$b; \
+ done \
+ fi \
+ fi \
+ done \
fi
install-data-local: doxygen-build.stamp
- $(mkinstalldirs) $(docdir)
+ $(mkinstalldirs) $(DESTDIR)$(docdir)
if test -d libremix; then \
for dir in libremix/*; 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; \
- done \
+ $(INSTALL_DATA) $$f $(DESTDIR)$(docdir)/$$b; \
+ done \
fi \
done \
fi
uninstall-local:
- rm -rf $(docdir)
+ rm -rf $(DESTDIR)$(docdir)
clean-local:
if test -d libremix; then rm -rf libremix; fi
Please sign in to comment.
Something went wrong with that request. Please try again.