# ~jhs/public_html/bim/Makefile # NO_SIDEBAR=YES SUBDIR += boerse SUBDIR += conf SUBDIR += faces SUBDIR += install SUBDIR += leaflet SUBDIR += stammtisch SUBDIR += systems SUBDIR += talks NO_OBJ=true TARGS= indx.e.lmth indx.g.lmth indx.e.html indx.g.html index.html \ contributors.html enquiries.html \ events.html list.html membership.html organisation.html \ other_bsd.html other_clubs.html projects.html systems2001.html \ what_we_are.html index.html all: ${TARGS} @echo need to add more english + german language filtering @echo lok at httpd.conf to decide best way. index.html: ln -s indx.e.html $@ .if !defined(LMTH_TAIL) #{ .if defined(NO_SIDEBAR) LMTH_TAIL = ${.CURDIR}/Inc/tail_no_sb.inc .else # NEW STILL IN DEVELOPMENT LMTH_TAIL = ${.CURDIR}/Inc/tail_sb.inc .endif .endif STUFF= indx.m4 defines ${LMTH_TAIL} Makefile indx.e.lmth: ${STUFF} echo "" > ${.TARGET} m4 -DENGLISH indx.m4 >> ${.TARGET} @# m4 -DENGLISH indx.m4 | \ @# grep -i -v '' | grep -i -v '' >> ${.TARGET} @# cat ${LMTH_TAIL} >> ${.TARGET} indx.g.lmth: ${STUFF} echo "" > ${.TARGET} m4 -DGERMAN indx.m4 >> ${.TARGET} @# m4 -DGERMAN indx.m4 | \ @# grep -i -v '' | grep -i -v '' >> ${.TARGET} @# cat ${LMTH_TAIL} >> ${.TARGET} projects.lmth: projects.m4 defines m4 -DENGLISH projects.m4 > ${.TARGET} other_bsd.lmth: other_bsd.m4 defines m4 -DENGLISH other_bsd.m4 > ${.TARGET} contributors.lmth: contributors.m4 defines m4 -DENGLISH contributors.m4 > ${.TARGET} other_clubs.lmth: other_clubs.m4 defines m4 -DENGLISH other_clubs.m4 > ${.TARGET} what_we_are.lmth: what_we_are.m4 defines m4 -DENGLISH what_we_are.m4 > ${.TARGET} membership.lmth: membership.m4 defines m4 -DENGLISH membership.m4 > ${.TARGET} events.lmth: events.m4 defines m4 -DENGLISH events.m4 > ${.TARGET} enquiries.lmth: enquiries.m4 defines m4 -DENGLISH enquiries.m4 > ${.TARGET} organisation.lmth: organisation.m4 defines m4 -DENGLISH organisation.m4 > ${.TARGET} systems2001.lmth: systems2001.m4 defines m4 -DENGLISH systems2001.m4 > ${.TARGET} # install: all # @echo "No install done, since using virtual domains." clean: @echo "If you really want to wreck web files: make cleanmore" cleanmore: rm -f ${TARGS} Inc: ln -s /site/usr/local/www/Data/virtual/Inc @# Data gets also used by /usr/local/www/data/virtual/jhs/bim .include .include