[gnac] Cleaned up the tree (forgot to add some files).



commit 89a5ea8876a5d2cfab47b94f27d8b7e383fd0697
Author: Benoît Dupasquier <bdupasqu src gnome org>
Date:   Fri Sep 18 23:22:00 2009 +0200

    Cleaned up the tree (forgot to add some files).

 data/icons/Makefile.am       |   58 ++++++++++++++++++++++++++++++++++++++++++
 data/profiles/ui/Makefile.am |   18 +++++++++++++
 data/ui/Makefile.am          |    8 ++++++
 man/Makefile.am              |    4 +++
 4 files changed, 88 insertions(+), 0 deletions(-)
---
diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am
new file mode 100644
index 0000000..03dbd23
--- /dev/null
+++ b/data/icons/Makefile.am
@@ -0,0 +1,58 @@
+pixmapsdir   = $(datadir)/pixmaps
+pixmaps_DATA = gnac.png
+
+gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
+
+icons = \
+	gnac-16.png \
+	gnac-22.png \
+	gnac-24.png \
+	gnac-32.png \
+	gnac-48.png \
+	gnac-64.png \
+	gnac-72.png \
+	gnac-96.png \
+	gnac-128.png \
+	gnac-192.png \
+	gnac-256.png \
+	gnac.svg
+
+install-icons:
+	for icon in $(icons); do \
+		SIZE=`echo $$icon | cut -d- -f2 | cut -d. -f1`; \
+		EXTENSION=`echo $$icon | cut -d. -f2`; \
+		if test "$$icon" = "gnac.svg"; then \
+			SIZE="scalable"; \
+		else \
+			SIZE="$${SIZE}x$${SIZE}"; \
+		fi; \
+		mkdir -p $(DESTDIR)$(datadir)/icons/hicolor/$$SIZE/apps 2>&1 > /dev/null; \
+		$(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(datadir)/icons/hicolor/$$SIZE/apps/gnac.$$EXTENSION; \
+	done
+	@-if test -z "$(DESTDIR)"; then \
+		echo "Updating GTK icon cache."; \
+		$(gtk_update_icon_cache); \
+	else \
+		echo "*** Icon cache not updated.  After install, run this:"; \
+		echo "***   $(gtk_update_icon_cache)"; \
+	fi
+
+uninstall-icons:
+	for icon in $(icons); do \
+		SIZE=`echo $$icon | cut -d- -f2 | cut -d. -f1`; \
+		EXTENSION=`echo $$icon | cut -d. -f2`; \
+		if test "$$icon" = "gnac.svg"; then \
+			SIZE="scalable"; \
+		else \
+			SIZE="$${SIZE}x$${SIZE}"; \
+		fi; \
+		rm -f $(DESTDIR)$(datadir)/icons/hicolor/$$SIZE/apps/gnac.$$EXTENSION; \
+	done
+
+install-data-local: install-icons
+
+uninstall-local: uninstall-icons
+
+EXTRA_DIST = \
+	$(pixmaps_DATA) \
+	$(icons)
diff --git a/data/profiles/ui/Makefile.am b/data/profiles/ui/Makefile.am
new file mode 100755
index 0000000..d5a4cfe
--- /dev/null
+++ b/data/profiles/ui/Makefile.am
@@ -0,0 +1,18 @@
+config_profilesdir = $(datadir)/gnac/profiles
+
+config_profiles_DATA = \
+	gnac-profiles-aac.xml \
+	gnac-profiles-base-advanced.xml \
+	gnac-profiles-combo.xml \
+	gnac-profiles-flac.xml \
+	gnac-profiles-lame.xml \
+	gnac-profiles-manager.xml \
+	gnac-profiles-properties.xml \
+	gnac-profiles-unknown.xml \
+	gnac-profiles-vorbis.xml \
+	gnac-profiles-speex.xml \
+	gnac-profiles-wav.xml \
+	gnac-profiles-wavpack.xml
+
+EXTRA_DIST = \
+	$(config_profiles_DATA)
diff --git a/data/ui/Makefile.am b/data/ui/Makefile.am
new file mode 100644
index 0000000..a258ca0
--- /dev/null
+++ b/data/ui/Makefile.am
@@ -0,0 +1,8 @@
+configdir   = $(datadir)/gnac
+config_DATA = \
+	gnac.xml \
+	gnac-pref-window.xml \
+	gnac-properties-window.xml
+
+EXTRA_DIST = \
+	$(config_DATA)
diff --git a/man/Makefile.am b/man/Makefile.am
new file mode 100644
index 0000000..1efbc25
--- /dev/null
+++ b/man/Makefile.am
@@ -0,0 +1,4 @@
+man_MANS = gnac.1
+
+EXTRA_DIST = \
+	$(man_MANS)



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