shithub: sox

Download patch

ref: 733efdeadf67e0ac0612d7d4019231274a70d4e6
parent: a7b7403d7a322e4c65ee4eb23fe45e2855f909fb
author: cbagwell <cbagwell>
date: Tue Feb 15 09:25:22 EST 2011

fix html install.

--- a/Makefile.am
+++ b/Makefile.am
@@ -81,6 +81,12 @@
 	@list='$(DOCHTML)'; for p in $$list; do \
 	if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 	f=$(am__strip_dir) \
+	echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)//$$f'"; \
+	$(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
+	done; \
+	@for p in soxpng/*; do \
+	if test -f "$$p"; then d=; else d="$(srcdir)"; fi; \
+	f=$(am__strip_dir) \
 	echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/soxpng/$$f'"; \
 	$(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/soxpng/$$f"; \
 	done
@@ -91,7 +97,8 @@
 	f=$(am__strip_dir) \
 	echo " $(RM) '$(DESTDIR)$(htmldir)/$$f'"; \
 	$(RM) "$(DESTDIR)$(htmldir)/$$f"; \
-	done
+	done; \
+	$(RM) -fr "$(DESTDIR)$(htmldir)/soxpng";
 
 DISTCLEANFILES = $(DOCHTML) $(DOCPDF) $(DOCTXT)