diff options
author | Hans Ulrich Niedermann <gp@n-dimensional.de> | 2002-08-11 21:30:43 +0000 |
---|---|---|
committer | Hans Ulrich Niedermann <gp@n-dimensional.de> | 2002-08-11 21:30:43 +0000 |
commit | 4ef9c7f8778a9d2bf59c30f0a9632a1c21a986b3 (patch) | |
tree | c0fb6e1c187346741d568c8f050b38cb067bd6cb /doc | |
parent | fc170503f98cf873025a9a6322fcee4ae75a9615 (diff) | |
download | libgphoto2-4ef9c7f8778a9d2bf59c30f0a9632a1c21a986b3.tar.gz |
only install figures if they were built
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5000 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index ad96e2cb4..cbad38097 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -104,8 +104,10 @@ install_data_local_manual = install-data-local-manual install-data-local-manual: manual figures-stamp $(INSTALL) -d -m 0755 $(DESTDIR)$(TARGET_DIR) $(INSTALL_DATA) ./manual/*.html $(DESTDIR)$(TARGET_DIR) +if ENABLE_FIGURES $(INSTALL) -d -m 0755 $(DESTDIR)$(TARGET_DIR)/figures $(INSTALL_DATA) ./figures/*.png $(DESTDIR)$(TARGET_DIR)/figures +endif # copy HTML manual to distribution # FIXME: Use $(INSTALL_DATA) instead of $(AMTAR) |