
#---------------------------------------------------------------
# Project         : Mandrake Linux
# Module          : Borges
# File            : Makefile.local
# Author          : Camille Bgnis
# Created On      : Mon May  1 16:25:21 2001
# Copyright       : Camille Bgnis camille@mandrakesoft.com,
#                    MandrakeSoft under the GPL license
#---------------------------------------------------------------

include /home/stew/rpm-rebuilder/RPM/BUILD/Borges-0.7.12/doc/Makefile.include

local.ents: $(wildcard *.ent)
	@rm -f $@
	@touch $@
ifneq ($(wildcard *.ent),)
	@for i in $(wildcard *.ent); do \
		f=`basename $$i`; \
		echo -n "<!ENTITY % ">> $@; \
		echo -n $$i >> $@; \
		echo -n " SYSTEM \"">> $@; \
		echo -n $$i >> $@; \
		echo "\">" >> $@; \
		echo "%$$i;" >> $@; \
	done
endif
