diff options
author | Nathan Scott <nathans@sgi.com> | 2006-07-05 03:52:47 +0000 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-07-05 03:52:47 +0000 |
commit | 622757f704c45d0d2011d10bb839c9fbdca1a693 (patch) | |
tree | 79c32fea3c5e09be4d1d34b41767554590b8c762 /include | |
parent | 7f781d375c150b8af953394cc174f962bbfc418a (diff) | |
download | acl-622757f704c45d0d2011d10bb839c9fbdca1a693.tar.gz |
Update acl package to better integrate into the Ubuntu localisation up-to-dated-ness tracking system (Rosetta).
Merge of master-melb:xfs-cmds:26416a by kenmcd.
Diffstat (limited to 'include')
-rw-r--r-- | include/builddefs.in | 2 | ||||
-rw-r--r-- | include/buildrules | 14 |
2 files changed, 9 insertions, 7 deletions
diff --git a/include/builddefs.in b/include/builddefs.in index c082ea6..db444d5 100644 --- a/include/builddefs.in +++ b/include/builddefs.in @@ -18,6 +18,7 @@ LIBMISC = $(TOPDIR)/libmisc/libmisc.la prefix = @prefix@ exec_prefix = @exec_prefix@ +datarootdir = @datarootdir@ PKG_NAME = @pkg_name@ PKG_USER = @pkg_user@ @@ -49,6 +50,7 @@ MAKEDEPEND = @makedepend@ MSGFMT = @msgfmt@ MSGMERGE = @msgmerge@ +XGETTEXT = @xgettext@ RPM = @rpm@ RPMBUILD = @rpmbuild@ diff --git a/include/buildrules b/include/buildrules index f721283..41aaef5 100644 --- a/include/buildrules +++ b/include/buildrules @@ -35,15 +35,15 @@ $(LTLIBRARY) : $(SUBDIRS) $(LTOBJECTS) $(LTCOMPILE) -c $< endif -ifdef LINGUAS +ifdef POTHEAD %.pot: $(XGETTEXTFILES) - xgettext --omit-header --language=C --keyword=_ -o $@ $(XGETTEXTFILES) + $(XGETTEXT) --language=C --keyword=_ -o $@ $(XGETTEXTFILES) -%.po: - $(MSGMERGE) -o $@.tmpo $@ $(PKG_NAME).pot - @if ! diff $@.tmpo $@ >/dev/null; then \ - echo "$@ is out of date, see $@.tmpo"; \ - fi +# Generate temp .po files, to check whether translations need updating. +# Not by default, due to gettext output differences between versions. +%.po: $(POTHEAD) +# $(MSGMERGE) -o $@.tmpo $@ $(POTHEAD) +# if ! diff $@.tmpo $@ >/dev/null; then echo "$@ dated, see $@.tmpo"; fi %.mo: %.po $(MSGFMT) -o $@ $< |