# ~/public_html/Inc/Makefile

# See Also: Inc.README
all:	sidebar_com.sed sidebar_org.sed

SOURCES+= header.sed_in
SOURCES+= sidebar_com.sed_in
SOURCES+= sidebar_org.sed_in

SOURCES+= tail_no_sb.inc 	# Included by ~/public_html/src/bsd/fixes/FreeBSD/src/jhs/share/mk/berklix2.mk
SOURCES+= tail_sb_com.inc 	# Included by ~/public_html/src/bsd/fixes/FreeBSD/src/jhs/share/mk/berklix2.mk
SOURCES+= tail_sb_org.inc	# Included by ~/public_html/src/bsd/fixes/FreeBSD/src/jhs/share/mk/berklix2.mk
# tail_sb.inc -> tail_sb_org.inc

vi:	# Edit Sources
	vi ${SOURCES}

cleandir:
	true

html:
	@true

# Warning Avoid using text with a 'Z' in *.sed_in, eg "Zap Putin",
# as the 'Z' breaks the use of 'Z' in *.sed

sidebar_com.sed:	header.sed_in sidebar_com.sed_in Makefile
	echo 'sZ<body>Z<body>\'				 > ${.CURDIR}/$@
	echo -n '<!-- Start Of Inc/'			>> ${.CURDIR}/$@
	echo -n $@					>> ${.CURDIR}/$@
	echo ' -->\'					>> ${.CURDIR}/$@
	cat header.sed_in				>> ${.CURDIR}/$@
	cat sidebar_com.sed_in				>> ${.CURDIR}/$@
	@echo $@ Included by ~/public_html/src/bsd/fixes/FreeBSD/src/jhs/share/mk/berklix2.mk

sidebar_org.sed:	header.sed_in sidebar_org.sed_in Makefile
	echo 'sZ<body>Z<body>\'				 > ${.CURDIR}/$@
	echo -n '<!-- Start Of Inc/'			>> ${.CURDIR}/$@
	echo -n $@					>> ${.CURDIR}/$@
	echo ' -->\'					>> ${.CURDIR}/$@
	cat header.sed_in				>> ${.CURDIR}/$@
	cat sidebar_org.sed_in				>> ${.CURDIR}/$@
	@echo $@ Included by ~/public_html/src/bsd/fixes/FreeBSD/src/jhs/share/mk/berklix2.mk

clean:
	@echo "If you really want to, maually call:	make cleanmore"
	
cleanmore:
	rm sidebar_com.sed sidebar_org.sed

cleandepend:
	true

.include <berklix.mk>
