install-man:
- for man in $(MANS); do \
+ for man in $(MANS); do \
sect=`echo $$man|sed 's%.*\.\([0-9][a-z]*\)$$%\1%'`; \
inst=`basename $$man $$sect|sed '$(transform)'`$$sect; \
- mdir=$(mandir)/man$$sect; \
- $(top_srcdir)/mkinstalldirs $$mdir; \
+ mdir=$(mandir)/man$$sect; \
+ $(top_srcdir)/mkinstalldirs $$mdir; \
echo installing $$man as $$mdir/$$inst; \
$(INSTALL_DATA) $(srcdir)/$$man $$mdir/$$inst; \
- cdir=$(mandir)/cat$$sect; \
- if test -d $$cdir; then \
+ cdir=$(mandir)/cat$$sect; \
+ if test -d $$cdir; then \
echo formatting $$man as $$cdir/$$inst; \
$(NROFF) -man $(srcdir)/$$man > $$cdir/$$inst; \
- fi; \
+ else \
+ true; \
+ fi; \
done
uninstall-man:
- for man in $(MANS); do \
+ for man in $(MANS); do
sect=`echo $$man|sed 's%.*\(\.[0-9][a-z]*\)$$%\1%'`; \
inst=`basename $$man $sect|sed '$(transform)'`.$$sect; \
mdir=$(mandir)/man$$sect; \
install-man:
- for man in $(MANS); do \
+ for man in $(MANS); do \
sect=`echo $$man|sed 's%.*\.\([0-9][a-z]*\)$$%\1%'`; \
inst=`basename $$man $$sect|sed '$(transform)'`$$sect; \
- mdir=$(mandir)/man$$sect; \
- $(top_srcdir)/mkinstalldirs $$mdir; \
+ mdir=$(mandir)/man$$sect; \
+ $(top_srcdir)/mkinstalldirs $$mdir; \
echo installing $$man as $$mdir/$$inst; \
$(INSTALL_DATA) $(srcdir)/$$man $$mdir/$$inst; \
- cdir=$(mandir)/cat$$sect; \
- if test -d $$cdir; then \
+ cdir=$(mandir)/cat$$sect; \
+ if test -d $$cdir; then \
echo formatting $$man as $$cdir/$$inst; \
$(NROFF) -man $(srcdir)/$$man > $$cdir/$$inst; \
- fi; \
+ else \
+ true; \
+ fi; \
done
uninstall-man:
- for man in $(MANS); do \
+ for man in $(MANS); do
sect=`echo $$man|sed 's%.*\(\.[0-9][a-z]*\)$$%\1%'`; \
inst=`basename $$man $sect|sed '$(transform)'`.$$sect; \
mdir=$(mandir)/man$$sect; \