]> git.pld-linux.org Git - projects/rc-scripts.git/blobdiff - po/Makefile.am
Umount remaining filesystems one by one (using -R) option which helps in cases when...
[projects/rc-scripts.git] / po / Makefile.am
index f1fd4a068c50a6c96bb2d1109d53b63f64f610e4..3adbc6428173217e34c387bf4fc4ae8c9044ac99 100644 (file)
@@ -1,11 +1,11 @@
 @SET_MAKE@
 
 
-EXTRA_DIST = @POTFILES@ @PACKAGE@.pot
+EXTRA_DIST = @POTFILES@ @PACKAGE@.pot makepot.pl
 
 POTSRC = @POTSRC@
 
-makepot = $(top_srcdir)/makepot.pl
+makepot = $(top_srcdir)/po/makepot.pl
 
 CATOBJEXT = .gmo
 INSTOBJEXT = .mo
@@ -13,14 +13,14 @@ INSTOBJEXT = .mo
 SUFFIXES = .po .mo .gmo
 
 .po.mo: $(PACKAGE).pot
-       $(MSGFMT) -o $@ $<
+       $(MSGFMT) -c --statistics -o $@ $<
 
 .po.gmo: $(PACKAGE).pot
-       file=$(srcdir)/`echo $* | awk ' { gsub(/.*\//,NIL); print $0; } '`.gmo \
-         && rm -f $$file && $(GMSGFMT) -o $$file $<
+       file=`echo $* | awk ' { gsub(/.*\//,NIL); print $0; } '`.gmo \
+         && rm -f $$file && $(GMSGFMT) -c --statistics -o $$file $<
 
 $(PACKAGE).pot: Makefile $(POTSRC)
-       $(makepot) $(POTSRC) >$(PACKAGE).po; \
+       LC_ALL=C $(makepot) $(POTSRC) > $(PACKAGE).po
        cmp $(PACKAGE).po $(PACKAGE).pot || \
                mv $(PACKAGE).po $(PACKAGE).pot; \
        rm -f $(PACKAGE).po
@@ -50,7 +50,7 @@ install-data-hook: all
        if test -r "$(MKINSTALLDIRS)"; then \
          $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \
        else \
-         $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \
+         $(mkinstalldirs) $(DESTDIR)$(datadir); \
        fi
        @catalogs='$(CATALOGS)'; \
        for cat in $$catalogs; do \
@@ -64,7 +64,7 @@ install-data-hook: all
          if test -r "$(MKINSTALLDIRS)"; then \
            $(MKINSTALLDIRS) $$dir; \
          else \
-           $(SHELL) $(top_srcdir)/mkinstalldirs $$dir; \
+           $(mkinstalldirs) $$dir; \
          fi; \
          if test -r $$cat; then \
            $(INSTALL_DATA) $$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \
@@ -104,4 +104,4 @@ uninstall-hook:
        done
 
 clean-generic:
-       rm -f $(srcdir)/*.gmo $(scrdir)/*.mo $(PACKAGE).pot
+       rm -f *.gmo *.mo $(PACKAGE).pot
This page took 0.046953 seconds and 4 git commands to generate.