diff --git a/rem2html/Makefile.in b/rem2html/Makefile.in
index 33450d28..84f50835 100644
--- a/rem2html/Makefile.in
+++ b/rem2html/Makefile.in
@@ -16,7 +16,7 @@ install:
echo "Not installing rem2html; Perl is required"; exit 0; fi; \
for m in $(PERLMODS_NEEDED) ; \
do \
- perl -M$$m -e 1 > /dev/null 2>&1; \
+ $(PERL) -M$$m -e 1 > /dev/null 2>&1; \
if test $$? != 0 ; then echo "Not installing rem2html; missing $$m"; exit 0; fi; \
done; \
echo "Installing rem2html in $(DESTDIR)$(bindir)"; \
diff --git a/src/calendar.c b/src/calendar.c
index f0e8240a..4fab99de 100644
--- a/src/calendar.c
+++ b/src/calendar.c
@@ -1440,6 +1440,15 @@ static int DoCalRem(ParsePtr p, int col)
}
}
+ /* Add to global OMITs if so indicated */
+ if (trig.addomit) {
+ r = AddGlobalOmit(jul);
+ if (r) {
+ FreeTrig(&trig);
+ return r;
+ }
+ }
+
/* Save nonconst_expr flag */
nonconst_expr = p->nonconst_expr;
/* Convert PS and PSF to PASSTHRU */