aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in16
1 files changed, 9 insertions, 7 deletions
diff --git a/Makefile.in b/Makefile.in
index 4d4f47e..a08d6b1 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -372,9 +372,7 @@ EXTRA_DIST = \
autogen.sh \
camorama.1 \
camorama.desktop.in \
- camorama.appdata.xml.in \
- data/pixmaps/camorama-webcam-16.png \
- data/pixmaps/camorama-webcam-24.png
+ camorama.appdata.xml.in
CLEANFILES = \
camorama.desktop \
@@ -953,9 +951,14 @@ uninstall-man: uninstall-man1
.PRECIOUS: Makefile
-install-data-local:
+install-icons:
+ for i in 16 24 32 48 64 128 256 512; do \
+ $(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/$${i}x$${i}/devices; \
+ $(INSTALL_DATA) pixmaps/camorama-$${i}.png $(DESTDIR)$(datadir)/icons/hicolor/$${i}x$${i}/devices/camorama.png; \
+ done
+
+install-data-local: install-icons
@$(NORMAL_INSTALL)
- if test -d $(srcdir)/pixmaps; then \
$(mkinstalldirs) $(DESTDIR)$(pixmapdir); \
$(mkinstalldirs) $(DESTDIR)$(datadir)/camorama/pixmaps; \
for pixmap in $(srcdir)/pixmaps/*.png; do \
@@ -963,8 +966,7 @@ install-data-local:
$(INSTALL_DATA) $$pixmap $(DESTDIR)$(pixmapdir); \
$(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/camorama/pixmaps; \
fi \
- done \
-fi
+ done
dist-hook:
if test -d pixmaps; then \

Privacy Policy