2003-12-05 14:15:52 +01:00
|
|
|
sbin_SCRIPTS = alsaconf
|
2005-03-16 14:30:47 +01:00
|
|
|
man_MANS = alsaconf.8 alsaconf.fr.8
|
|
|
|
EXTRA_DIST = $(man_MANS)
|
2004-12-29 17:10:47 +01:00
|
|
|
SUBDIRS = po
|
2005-03-16 14:30:47 +01:00
|
|
|
|
|
|
|
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; \
|
2005-05-13 14:14:16 +02:00
|
|
|
echo " $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)$$loc/man$$ext/$$inst.$$ext"; \
|
2005-08-23 14:09:30 +02:00
|
|
|
$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(mandir)$$loc/man$$ext/$$inst.$$ext; \
|
2005-03-16 14:30:47 +01:00
|
|
|
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; \
|
2005-05-13 14:14:16 +02:00
|
|
|
echo " rm -f $(DESTDIR)$(mandir)$$loc/man$$ext/$$inst.$$ext"; \
|
|
|
|
rm -f $(DESTDIR)$(mandir)$$loc/man$$ext/$$inst.$$ext; \
|
2005-03-16 14:30:47 +01:00
|
|
|
done
|