Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 159906 | Differences between
and this patch

Collapse All | Expand All

(-)man-pages-cs-0.16.orig/Makefile (-2 / +4 lines)
Lines 1-4 Link Here
1
# Do "make install" to copy the pages to their destination.
1
# Do "make install" to copy the pages to their destination and leave them in
2
#     ISO-8859-2 charset
3
# Do "make UTF8=yes install" to install the pages in UTF-8 encoding
2
# Do "make gz" before "make install" if you would like
4
# Do "make gz" before "make install" if you would like
3
#     to use compressed source pages.
5
#     to use compressed source pages.
4
# Do "make remove" before "make gz" if you would like to remove man
6
# Do "make remove" before "make gz" if you would like to remove man
Lines 30-36 Link Here
30
		install -d -m 755 $(MANDIR)/$$i; \
32
		install -d -m 755 $(MANDIR)/$$i; \
31
	done
33
	done
32
	# install the files
34
	# install the files
33
	if echo $(LANG) $(LC_ALL) | grep -qi UTF-8; then \
35
	if [ "x$(UTF8)" == "xyes" ]; then \
34
		find man? -type f -exec iconv -f ISO-8859-2 -t UTF-8 {} -o $(MANDIR)/{} \; ; \
36
		find man? -type f -exec iconv -f ISO-8859-2 -t UTF-8 {} -o $(MANDIR)/{} \; ; \
35
		find man? -type f -exec chmod 644 $(MANDIR)/{} \; ; \
37
		find man? -type f -exec chmod 644 $(MANDIR)/{} \; ; \
36
	else \
38
	else \

Return to bug 159906