view skins/Default/Makefile @ 3535:9ddf21ab5c84 trunk

Transit to Mk2.
author William Pitcock <nenolod@atheme.org>
date Mon, 17 Sep 2007 13:10:19 -0500
parents 4c4669781043
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