[gnome-icon-theme] Remove unused rendering target



commit 2f20c870185796f669614a6969b41167f29e484b
Author: William Jon McCann <jmccann redhat com>
Date:   Tue Apr 27 12:43:55 2010 -0400

    Remove unused rendering target
    
    There is a separate script to process process the svgs

 Makefile.am     |    4 ----
 configure.ac    |   17 -----------------
 src/Makefile.am |   18 ------------------
 3 files changed, 0 insertions(+), 39 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 0975fe9..cb080f7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,10 +7,6 @@ theme_DATA = $(theme_in_files:.theme.in.in=.theme)
 
 THEME_DIRS=$(shell SIZES="$(render_sizes)"; for size in $$SIZES; do for dir in `find $(srcdir)/$(SVGOUTDIR)/$$size/* -type d`; do printf "$$dir,"; done; done | sed -e "s/,$$//g")
 
-render: Makefile
-	($(am__cd) $(SVGSRCDIR) && $(MAKE) $(AM_MAKEFLAGS) render) \
-	|| eval `exit 1`
-
 %.theme.in: %.theme.in.in $(SVGOUTDIR) Makefile
 	dirs="`echo $(THEME_DIRS) | sed -e 's#$(srcdir)/gnome/##g'`"; \
 	sed -e "s|\ THEME_DIRS\@|$$dirs|g" < $< > $@; \
diff --git a/configure.ac b/configure.ac
index 0e14528..a883846 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,23 +57,6 @@ fi
 
 AC_SUBST(ICONMAP)
 
-# need git, icontool, and inkscape for rendering
-allow_rendering=yes
-AC_PATH_PROG([GIT], [git], [false])
-if test "x$GIT" = "xfalse"; then
-   allow_rendering=no
-fi
-AC_PATH_PROG([ICONTOOL_RENDER], [icontool-render], [false])
-if test "x$ICONTOOL_RENDER" = "xfalse"; then
-   allow_rendering=no
-fi
-AC_PATH_PROG([INKSCAPE], [inkscape], [false])
-if test "x$INKSCAPE" = "xfalse"; then
-   allow_rendering=no
-fi
-AM_CONDITIONAL(ALLOW_RENDERING, test "x$allow_rendering" = "xyes")
-
-
 AC_CONFIG_FILES([
 Makefile
 gnome-icon-theme.pc
diff --git a/src/Makefile.am b/src/Makefile.am
index c961d1e..ac87985 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,26 +1,8 @@
 
 icon_in_files = $(shell SRCDIR="$(srcdir)"; for i in `find $$SRCDIR -name "*.svg"`; do printf "$$i "; done)
 
-if ALLOW_RENDERING
-render-png: $(icon_in_files) Makefile
-	for file in $(icon_in_files); do \
-		for size in $(render_sizes); do \
-			$(ICONTOOL_RENDER) -s $$size -o $(top_builddir)/$(SVGOUTDIR) $$file >/dev/null; \
-		done; \
-	done
-
-else
-render-png: $(icon_in_files) Makefile
-	if test "x$(top_srcdir)" != "x$(top_builddir)"; then \
-		cp -a $(top_srcdir)/$(SVGOUTDIR) $(top_builddir)/$(SVGOUTDIR); \
-	fi
-
-endif
-
 $(render_sizes): Makefile
 
-render: render-png
-
 install-data-local:
 	for size in $(render_sizes); do \
 		echo -e "Going to copy files for $$size"; \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]