summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--docs/Makefile.am2
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 9052cef..39840d6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,7 +9,7 @@ pkgconfig_DATA = libimobiledevice-1.0.pc
EXTRA_DIST = docs
-docs/html: doxygen.cfg src/*.c src/*.h include/libimobiledevice/*.h
+docs/html: $(top_builddir)/doxygen.cfg $(top_srcdir)/src/*.c $(top_srcdir)/src/*.h $(top_srcdir)/include/libimobiledevice/*.h
rm -rf docs/html
doxygen doxygen.cfg
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 545d681..2aa9a70 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -1,3 +1,5 @@
man_MANS = idevice_id.1 ideviceinfo.1 idevicesyslog.1 idevicebackup.1 ideviceimagemounter.1 idevicescreenshot.1
EXTRA_DIST = $(man_MANS)
+
+DISTCLEANFILES = html/* html