summaryrefslogtreecommitdiff
path: root/modemlights
diff options
context:
space:
mode:
authorDavyd Madeley <davyd@madeley.id.au>2006-08-22 06:34:45 +0000
committerDavyd Madeley <davyd@src.gnome.org>2006-08-22 06:34:45 +0000
commit8278bc8d698e19346a2c0efa53652c187373aecd (patch)
treea47a5e33771c4fd4ab25eefd27a69af45c7e4f40 /modemlights
parent9e1e405e053f2e2bacba50f828dc7f1f71df1ccc (diff)
release GNOME Applets 2.15.90GNOME_APPLETS_2_15_90
2006-08-22 Davyd Madeley <davyd@madeley.id.au> * configure.in: * NEWS: release GNOME Applets 2.15.90 * cpufreq/pixmaps/Makefile.am: * geyes/Makefile.am: * modemlights/Makefile.am: * po/POTFILES.in: * stickynotes/Makefile.am: * stickynotes/data/Makefile.am: * stickynotes/pixmaps/Makefile.am: distcheck fixes
Diffstat (limited to 'modemlights')
-rw-r--r--modemlights/Makefile.am17
1 files changed, 15 insertions, 2 deletions
diff --git a/modemlights/Makefile.am b/modemlights/Makefile.am
index cc993bf9c..5f72275f3 100644
--- a/modemlights/Makefile.am
+++ b/modemlights/Makefile.am
@@ -45,6 +45,19 @@ EXTRA_DIST = \
$(glade_DATA) \
$(ui_DATA)
+uninstall-local:
+ for icon in $(icons); do \
+ SIZE=`echo $$icon | cut -d. -f2`; \
+ FILE=`echo $$icon | cut -d. -f1,3`; \
+ if [ "$$SIZE" == "svg" ]; then \
+ SIZE="scalable"; \
+ FILE="$$FILE.svg"; \
+ else \
+ SIZE="$${SIZE}x$${SIZE}"; \
+ fi; \
+ rm -f $(DESTDIR)$(iconsdir)/hicolor/$$SIZE/apps/$$FILE; \
+ done
+
install-data-local:
for icon in $(icons); do \
SIZE=`echo $$icon | cut -d. -f2`; \
@@ -55,6 +68,6 @@ install-data-local:
else \
SIZE="$${SIZE}x$${SIZE}"; \
fi; \
- mkdir -p $(iconsdir)/hicolor/$$SIZE/apps/; \
- $(INSTALL_DATA) $(srcdir)/$$icon $(iconsdir)/hicolor/$$SIZE/apps/$$FILE; \
+ mkdir -p $(DESTDIR)$(iconsdir)/hicolor/$$SIZE/apps/; \
+ $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(iconsdir)/hicolor/$$SIZE/apps/$$FILE; \
done