diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-09-13 09:43:21 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-09-13 09:43:21 -0700 |
commit | 5280f9a0cd1f9ba200422ebba65d1e0133410995 (patch) | |
tree | bf85ce4e320a769d7e0903ff52ccfde13a422666 /msgs/Makefile.in | |
download | man-5280f9a0cd1f9ba200422ebba65d1e0133410995.tar.gz man-5280f9a0cd1f9ba200422ebba65d1e0133410995.tar.bz2 man-5280f9a0cd1f9ba200422ebba65d1e0133410995.zip |
Initial.man-1.6g
Diffstat (limited to 'msgs/Makefile.in')
-rw-r--r-- | msgs/Makefile.in | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/msgs/Makefile.in b/msgs/Makefile.in new file mode 100644 index 0000000..fdfb457 --- /dev/null +++ b/msgs/Makefile.in @@ -0,0 +1,34 @@ + +all: ../src/makemsg gencat + @for i in mess.??; do ../src/makemsg -c $$i $$i.catin; \ + cat $$i.codeset $$i.catin > $$i.catin2; \ + echo "==== Making $$i.cat ====" ;\ + LC_ALL=en_US.UTF-8 ./gencat $$i.cat $$i.catin2; done; \ + rm -f core *.catin *.catin2 + +install: + sh ./inst.sh "@languages@" "$(DESTDIR)@locale@" + +clean: + rm -f gencat gencat.out core *~ *.cat *.catin *.catin2 + +spotless: + rm -f Makefile + +# Various versions of libc use different format message catalog files +# So we have to use the installed /usr/bin/gencat if possible. +# On the other hand, /usr/bin/gencat doesnt work in glibc 2.0.7 +# The source in ../gencat is OK for libc4 and libc5, not for glibc. +gencat: + if [ -f /usr/bin/gencat ]; then \ + if gencat gencat.out gencat.in 2>/dev/null; then \ + ln -s /usr/bin/gencat gencat; \ + else \ + cp gencat207fix.sh gencat; \ + fi \ + else \ + ln -s ../gencat/gencat gencat; \ + cd ../gencat; \ + make; \ + fi + |