alsa-utils/alsaconf/Makefile.am
Takashi Iwai e1c0234015 Add alsaconf french man page
Added a french man page for alsaconf by Baptiste Meles.
2005-03-16 13:30:47 +00:00

37 lines
1.1 KiB
Makefile

sbin_SCRIPTS = alsaconf
man_MANS = alsaconf.8 alsaconf.fr.8
EXTRA_DIST = $(man_MANS)
SUBDIRS = po
install-man8:
@for i in $(man_MANS); do \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
inst=`echo $$i | sed -e 's/\\.[^.]*$$//'`; \
case $$inst in \
*.[a-za-z]*)\
loc=`echo $$inst | sed -e 's/^.*\\.//'`; \
loc="/$$loc"; \
inst=`echo $$inst | sed -e 's/\\.[^.]*$$//'`;; \
*)\
loc="";; \
esac; \
$(mkinstalldirs) $(DESTDIR)$(mandir)$$loc/man$$ext; \
echo " $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)$$loc/man$$ext/$$inst"; \
$(INSTALL_DATA) $$i $(DESTDIR)$(mandir)$$loc/man$$ext/$$inst; \
done
uninstall-man8:
@for i in $(man_MANS); do \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
inst=`echo $$i | sed -e 's/\\.[^.]*$$//'`; \
case $$inst in \
*.[a-za-z]*)\
loc=`echo $$inst | sed -e 's/^.*\\.//'`; \
loc="/$$loc"; \
inst=`echo $$inst | sed -e 's/\\.[^.]*$$//'`;; \
*)\
loc="";; \
esac; \
echo " rm -f $(DESTDIR)$(mandir)$$loc/man$$ext/$$inst"; \
rm -f $(DESTDIR)$(mandir)$$loc/man$$ext/$$inst; \
done