blob: a11ecc57f9c4df15517b897905ee4c798a08a62f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
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.$$ext"; \
$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(mandir)$$loc/man$$ext/$$inst.$$ext; \
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.$$ext"; \
rm -f $(DESTDIR)$(mandir)$$loc/man$$ext/$$inst.$$ext; \
done
|