* Makefile.in: Only rebuild mc.hlp in the maintainer mode.

This commit is contained in:
Pavel Roskin 2000-09-13 17:15:01 +00:00
parent 6075fa9bdd
commit 6c249f473a
2 changed files with 11 additions and 7 deletions

View File

@ -1,3 +1,7 @@
2000-09-13 Pavel Roskin <proski@gnu.org>
* Makefile.in: Only rebuild mc.hlp in the maintainer mode.
2000-09-01 Pavel Roskin <proski@gnu.org>
* fixhlp.c: fixed compile errors and warnings

View File

@ -93,13 +93,13 @@ libedit.a:
@PCENTRULE@ $(RMF) libedit.a
@PCENTRULE@ $(LN_S) ../edit/libedit.a .
$(srcdir)/mc.hlp: $(docdir)/mc.1.in $(mcsrclibdir)/xnc.hlp $(srcdir)/gindex.pl man2hlp.c
$(MAKE) man2hlp
- ./man2hlp 58 $(docdir)/mc.1.in | cat - $(mcsrclibdir)/xnc.hlp | \
perl $(srcdir)/gindex.pl > $(srcdir)/mc.hlp.tmp && \
$(MV) -f $(srcdir)/mc.hlp.tmp $(srcdir)/mc.hlp; \
$(RMF) $(srcdir)/mc.hlp.tmp; \
touch $(srcdir)/mc.hlp
$(srcdir)/mc.hlp: @MAINT@ $(docdir)/mc.1.in $(mcsrclibdir)/xnc.hlp $(srcdir)/gindex.pl man2hlp.c
@MAINT@ $(MAKE) man2hlp
@MAINT@ - ./man2hlp 58 $(docdir)/mc.1.in | cat - $(mcsrclibdir)/xnc.hlp | \
@MAINT@ perl $(srcdir)/gindex.pl > $(srcdir)/mc.hlp.tmp && \
@MAINT@ $(MV) -f $(srcdir)/mc.hlp.tmp $(srcdir)/mc.hlp; \
@MAINT@ $(RMF) $(srcdir)/mc.hlp.tmp; \
@MAINT@ touch $(srcdir)/mc.hlp
mc.html: $(docdir)/mc.1.in man2hlp
./man2hlp 0 $(docdir)/mc.1.in > body.html