Check in built-in copy of libpopt in preparation for switching
[rsync/rsync.git] / popt-1.2 / po / Makefile.in
diff --git a/popt-1.2/po/Makefile.in b/popt-1.2/po/Makefile.in
new file mode 100644 (file)
index 0000000..2f041d3
--- /dev/null
@@ -0,0 +1,80 @@
+# Generated automatically from Makefile.in.in by configure.
+srcdir = .
+top_srcdir = ..
+
+INSTALL= /usr/bin/install -c
+INSTALL_PROGRAM= ${INSTALL}
+INSTALL_DATA= ${INSTALL} -m 644
+CC = gcc
+
+installprefix = $(DESTDIR)
+
+MSGMERGE = msgmerge
+
+NLSPACKAGE = popt
+
+LINGUAS = ro
+CATALOGS = $(addsuffix .mo, $(LINGUAS))
+
+POTFILES = \
+
+all: $(NLSPACKAGE).pot $(CATALOGS)
+
+$(NLSPACKAGE).pot: $(POTFILES)
+       xgettext --default-domain=$(NLSPACKAGE) \
+           --add-comments --keyword=_ --keyword=N_ $(POTFILES)
+       if cmp -s $(NLSPACKAGE).po $(NLSPACKAGE).pot; then \
+           rm -f $(NLSPACKAGE).po; \
+       else \
+           mv $(NLSPACKAGE).po $(NLSPACKAGE).pot; \
+       fi
+
+update-po: Makefile
+       @$(MAKE) $(NLSPACKAGE).pot
+       @catalogs='$(CATALOGS)'; \
+       for cat in $$catalogs; do \
+               lang=`echo $$cat | sed 's/.mo//'`; \
+               if $(MSGMERGE) $$lang.po $(NLSPACKAGE).pot > $$lang.pox ; then \
+                       echo "$(MSGMERGE) of $$lang succeeded" ; \
+                       mv $$lang.pox $$lang.po ; \
+               else \
+                       echo "$(MSGMERGE) of $$lang failed" ; \
+                       rm -f $$lang.pox ; \
+               fi \
+       done
+
+clean:
+       rm -f *mo $(NLSPACKAGE).pot
+
+distclean: clean
+       rm -f .depend Makefile
+
+depend:
+
+install:
+       for n in $(CATALOGS); do \
+           l=`basename $$n .mo`; \
+           $(INSTALL) -m 755 -d $(installprefix)/$(LOCALEDIR)/$$l; \
+           $(INSTALL) -m 755 -d $(installprefix)/$(LOCALEDIR)/$$l/LC_MESSAGES; \
+           $(INSTALL) -m 644 $$n $(installprefix)/$(LOCALEDIR)/$$l/LC_MESSAGES/rpm.mo; \
+       done
+
+check:
+
+POTFILES: POTFILES.in
+       ( if test 'x$(srcdir)' != 'x.'; then \
+           posrcprefix='$(top_srcdir)/'; \
+         else \
+           posrcprefix="../"; \
+         fi; \
+         sed -e '/^#/d' -e '/^[        ]*$$/d' \
+             -e "s@.*@ $$posrcprefix& \\\\@" \
+             -e '$$s/\(.*\) \\/\1/' < $(srcdir)/POTFILES.in > POTFILES )
+
+Makefile: Makefile.in.in ../config.status POTFILES
+       cd .. \
+         && CONFIG_FILES=po/$@.in CONFIG_HEADERS= \
+              $(SHELL) ./config.status
+
+%.mo: %.po
+       msgfmt -o $@ $<