This also fixes installation when no *.gif files found in 'doc/api/html' folder.

Signed-off-by: Serge Ziryukin <ftrvxm...@gmail.com>
---
 Makefile.am |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 96fb8fc..c186b6f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -140,15 +140,11 @@ mostlyclean-local:
 
 install-data-local: doc/api/html/index.html
        $(mkinstalldirs) $(DESTDIR)$(docdir)/html
-       $(INSTALL_DATA) -c -m 644 doc/api/html/*.html doc/api/html/*.css \
-               doc/api/html/*.png doc/api/html/*.gif \
+       $(INSTALL_DATA) -c -m 644 doc/api/html/*.* \
                $(DESTDIR)$(docdir)/html
 
 uninstall-local:
-       rm -f $(DESTDIR)$(docdir)/html/*.html \
-       $(DESTDIR)$(docdir)/html/*.css \
-       $(DESTDIR)$(docdir)/html/*.gif \
-       $(DESTDIR)$(docdir)/html/*.png
+       rm -f $(DESTDIR)$(docdir)/html/*.*
 
 upload: doc/api/html/index.html
        rsync -vpruz --delete doc/api/html/ \
-- 
1.7.1.1


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to