install-eg.sh: fix setup of non-prod Apache includes
[sitka/sitka-tools.git] / marc_export_custom / Makefile-marc_export
CommitLineData
a54b8f42 1MARC_EXPORT_BIN=./marc_export_custom
7716c3a7 2MARC_STATS=./stats-distribution.pl
a54b8f42 3%.marc: %.id
5404b6ab 4 @echo ' ' MARC $(notdir $@); \
e389d854
RJ
5 $(MARC_EXPORT_BIN) $(MARC_PARAMS) <$< --output-file $@.tmp 2>&1 | tee $@.log \
6 && mv $@.tmp $@
368b2926 7 grep -vsq -e 'router@private-router.localdomain' -e 'OpenSRF::' $@.log
7716c3a7 8%.marc-stats.csv: %.marc
5404b6ab 9 @echo ' ' MARCSTATS $(notdir $<); \
7716c3a7
RJ
10 $(MARC_STATS) $< >$@.tmp && mv $@.tmp $@
11