# file: src/web-interfaces/ra/i18n/english/htdocs/images/Makefile
#
#  2001 OpenCA Group

TOP	= ../../../../../../..
include $(TOP)/Makefile.global-vars

DEST_RA_HTDOC_IMGDIR	= ${ra_htdocs_fs_prefix}/images
IMGSRC			= ../../../../../../common/lib/images

FILES	= \
	big_openca_logo2.jpg	\
	digid_logo.gif		\
	info.gif		\
	notSigned.png		\
	openca_logo.jpg		\
	openca_logo2.jpg	\
	sigError.png		\
	validSig.png

DEST_FILES	= $(FILES:%=$(DEST_RA_HTDOC_IMGDIR)/%)

#---- variable settings above, rules below ----

.PHONY:	default install clean distclean

default::

$(DEST_RA_HTDOC_IMGDIR):
		$(INSTALL) -d -o ${openca_user} -g ${openca_group} -m 755 $@

install::	$(DEST_FILES)

$(DEST_FILES)::	$(DEST_RA_HTDOC_IMGDIR)
$(DEST_FILES)::
		$(INSTALL) -o ${openca_user} -g ${openca_group} -m 644 $(IMGSRC)/$(@:$(DEST_RA_HTDOC_IMGDIR)/%=%) $@

distclean::
		#$(RM)
