summaryrefslogtreecommitdiff
path: root/mate/scalable-up-to-32/Makefile.am
blob: 6110ac573e4bdf97c9bb3d91e13a9a4323cbfc6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
themedir = $(datadir)/icons/mate/scalable-up-to-32

install-data-local:
	$(mkdir_p) $(DESTDIR)$(themedir); \
	for dir in `cd $(top_srcdir)/mate/scalable-up-to-32 && find . -type d | sed s/.//`; do \
		$(mkdir_p) $(DESTDIR)$(themedir)$$dir; \
	done; \
	for file in `cd $(top_srcdir)/mate/scalable-up-to-32 && find . -name "*.svg" | sed s@./@/@`; do \
		$(install_sh_DATA) $(top_srcdir)/mate/scalable-up-to-32$$file $(DESTDIR)$(themedir)/$$file; \
	done;

uninstall-local:
	if [ -d "$(DESTDIR)$(themedir)" ]; then \
		cd $(DESTDIR)$(themedir); \
		for file in `find . -name *.svg | sed s@./@/@`; do \
			rm -f $(DESTDIR)$(themedir)$$file; \
		done; \
	fi

MAINTAINERCLEANFILES = \
	Makefile.in \
	Makefile