view skins/Default/Makefile @ 3569:08340a70fa6c trunk

Oops.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 18 Sep 2007 23:57:58 +0300
parents 9ddf21ab5c84
children
line wrap: on
line source

include ../../buildsys.mk

skindir = $(pkgdatadir)/Skins/Default

install-extra:
	y="*.png *.txt *.hints"; \
	for i in $$y; do \
	        ${INSTALL_STATUS}; \
		if ${MKDIR_P} ${DESTDIR}${skindir} && ${INSTALL} -m 644 $$i ${DESTDIR}${skindir}/$$i; then \
			${INSTALL_OK}; \
		else \
			${INSTALL_FAILED}; \
		fi; \
	done

uninstall-extra:
	y="*.png *.txt *.hints"; \
	for i in $$y; do \
		if [ -f ${DESTDIR}${skindir}/$$i ]; then \
			if rm -f ${DESTDIR}${skindir}/$$i; then \
				${DELETE_OK}; \
			else \
				${DELETE_FAILED}; \
			fi \
		fi; \
	done