diff options
author | Nathan Scott <nathans@sgi.com> | 2002-11-30 02:48:51 +0000 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2002-11-30 02:48:51 +0000 |
commit | aa48fa3df5525c8346b24e062338935c19424fe7 (patch) | |
tree | bd1be6e2eff1a9c6d319b4c6f522583f9ff443d5 /include/buildmacros | |
parent | 92ff8d8934ac441a2c55abbe8318969dfe3be772 (diff) | |
download | attr-aa48fa3df5525c8346b24e062338935c19424fe7.tar.gz |
attr package I18N changes.
Diffstat (limited to 'include/buildmacros')
-rw-r--r-- | include/buildmacros | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/include/buildmacros b/include/buildmacros index 33b780c..b9210af 100644 --- a/include/buildmacros +++ b/include/buildmacros @@ -42,8 +42,12 @@ LDLIBS = $(LLDLIBS) $(MALLOCLIB) MAKEOPTS = --no-print-directory SRCFILES = Makefile $(HFILES) $(CFILES) $(LSRCFILES) $(LFILES) $(YFILES) -DIRT = $(LDIRT) dep dep.bak $(OBJECTS) $(LTOBJECTS) *.[1-9].gz \ - $(LTCOMMAND) $(LTLIBRARY) + +DEPDIRT = dep dep.bak +MANDIRT = *.[1-9].gz +PODIRT = *.tmpo *.mo +CDIRT = $(OBJECTS) $(LTOBJECTS) $(LTCOMMAND) $(LTLIBRARY) +DIRT = $(LDIRT) $(DEPDIRT) $(MANDIRT) $(PODIRT) $(CDIRT) OBJECTS = $(ASFILES:.s=.o) \ $(CFILES:.c=.o) \ @@ -137,6 +141,15 @@ INSTALL_MAN = \ done; \ done +ifeq ($(ENABLE_GETTEXT),yes) +INSTALL_LINGUAS = \ + @for l in $(LINGUAS); do \ + ldir=$(PKG_LOCALE_DIR)/$$l/LC_MESSAGES; \ + $(INSTALL) -m 755 -d $$ldir; \ + $(INSTALL) -m 644 $$l.mo $$ldir/$(PKG_NAME).mo; \ + done +endif + SUBDIRS_MAKERULE = \ @for d in $(SUBDIRS) ""; do \ if test -d "$$d" -a ! -z "$$d"; then \ |