Files
Arquivotheca.Solaris-2.5/cmd/diffmk/Makefile
seta75D 7c4988eac0 Init
2021-10-11 19:38:01 -03:00

37 lines
598 B
Makefile
Executable File

#
#ident "@(#)Makefile 1.6 92/12/15 SMI" /* SVr4.0 1.2 */
#
# Copyright (c) 1989 by Sun Microsystems, Inc.
#
PROG= diffmk
POFILE= diffmk.po
include ../Makefile.cmd
.KEEP_STATE:
all: $(PROG)
$(PROG): $(PROG).sh
$(RM) $@
sed -e "s/TEXT_DOMAIN/${TEXT_DOMAIN}/g" $(PROG).sh > $@
chmod +x $@
#
# For message catalogue file.
#
$(POFILE):
grep gettext $(PROG).sh | tr '`' ' ' | sed -e "s/TEXT_DOMAIN/\(/" | sed -e "s/$$/);/" > $(PROG).i
$(XGETTEXT) $(PROG).i
$(RM) $@ $(PROG).i
mv messages.po diffmk.po
install: all $(ROOTPROG)
clean:
lint: lint_PROG
include ../Makefile.targ