File: Makefile.in

package info (click to toggle)
man2html 1.6g-9
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,724 kB
  • ctags: 3,346
  • sloc: ansic: 9,667; sh: 2,309; perl: 335; makefile: 327; awk: 305; lisp: 171; cs: 170; xml: 119
file content (34 lines) | stat: -rw-r--r-- 922 bytes parent folder | download | duplicates (6)
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

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