(SUBDIRS): Hold off on internationalization
[automake.git] / mans.am
blobc8509b17d8b73716067dd6c73178526a9c2a7656
1 install-man:
2         for man in $(MANS); do \
3           sect=`echo $$man|sed 's%.*\.\([0-9][a-z]*\)$$%\1%'`; \
4           inst=`basename $$man $$sect|sed '$(transform)'`$$sect; \
5           mdir=$(mandir)/man$$sect; \
6           $(top_srcdir)/mkinstalldirs $$mdir; \
7           echo installing $$man as $$mdir/$$inst; \
8           $(INSTALL_DATA) $(srcdir)/$$man $$mdir/$$inst; \
9           cdir=$(mandir)/cat$$sect; \
10           if test -d $$cdir; then \
11             echo formatting $$man as $$cdir/$$inst; \
12             $(NROFF) -man $(srcdir)/$$man > $$cdir/$$inst; \
13           fi; \
14         done
16 uninstall-man:
17         for man in $(MANS); do \
18           sect=`echo $$man|sed 's%.*\(\.[0-9][a-z]*\)$$%\1%'`; \
19           inst=`basename $$man $sect|sed '$(transform)'`.$$sect; \
20           mdir=$(mandir)/man$$sect; \
21           cdir=$(mandir)/cat$$sect; \
22           rm -f $$mdir/$$inst $$cdir/$$inst; \
23         done