# The link dependencies of the 'hello' program.
hello_JAVALIBS = @LIBINTL_JAR@
-# The resources of the 'hello' program, excluding message catalogs, but
-# including the fallback message catalog.
-hello_RESOURCES = hello-java-awt.properties
-
-# Resources that are generated from PO files.
-MAINTAINERCLEANFILES = hello-java-awt*.properties
-
# Additional files to be distributed.
EXTRA_DIST = autogen.sh autoclean.sh
hello.jar: $(hello_CLASSES)
{ echo "Manifest-Version: 1.0"; echo "Main-Class: $(hello_MAINCLASS)"; echo 'Class-Path: @LIBINTL_JAR@'; } > Manifest.mf
- catalogs=`MAKEFLAGS= $(MAKE) -s -C po echo-catalogs`; \
- $(JAR) cfm $@ Manifest.mf Hello*.class $(hello_RESOURCES) $$catalogs
+ $(JAR) cfm $@ Manifest.mf Hello*.class
rm -f Manifest.mf
+ abs_jar=`pwd`/$@; (cd po && $(MAKE)) && catalogs=`GNUMAKEFLAGS=--no-print-directory $(MAKE) -s -C po echo-catalogs`; test -n "$$catalogs" && (cd $(srcdir) && $(JAR) uf "$$abs_jar" $$catalogs) || { rm -f $@ jartmp*; exit 1; }
Hello.class: $(srcdir)/Hello.java
CLASSPATH=.@CLASSPATH_SEPARATOR@$(hello_JAVALIBS) $(JAVACOMP) -d . $(srcdir)/Hello.java
$(DUMMYPOFILES):
-update-properties: Makefile $(DOMAIN).pot $(POFILES)
- @echo "$(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \
- $(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; }
+update-properties: Makefile $(srcdir)/$(DOMAIN).pot $(POFILES)
+ @echo "$(MSGINIT) -i $(srcdir)/$(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \
+ $(MSGINIT) -i $(srcdir)/$(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; }
@for f in $(POFILES); do \
lang=`echo $$f | sed -e 's,.*/,,' -e 's,\.po$$,,'`; \
echo "$(GMSGFMT) -c --statistics --verbose -o /dev/null $(srcdir)/$${lang}.po"; \
done
# Alternatively, we could create classes instead of properties files.
-update-classes: Makefile $(DOMAIN).pot $(POFILES)
- @echo "$(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \
- $(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; }
+update-classes: Makefile $(srcdir)/$(DOMAIN).pot $(POFILES)
+ @echo "$(MSGINIT) -i $(srcdir)/$(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \
+ $(MSGINIT) -i $(srcdir)/$(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; }
@for f in $(POFILES); do \
lang=`echo $$f | sed -e 's,.*/,,' -e 's,\.po$$,,'`; \
echo "$(GMSGFMT) -c --statistics --verbose -j -d $(top_srcdir) -r $(DOMAIN) -l $${lang} $(srcdir)/$${lang}.po"; \
done
echo-catalogs:
- @echo $(CATALOGS)
+# When packaging the catalogs for installation, include the fallback catalog always.
+ @echo $(DOMAIN).properties $(CATALOGS)
# The link dependencies of the 'hello' program.
hello_JAVALIBS = @LIBINTL_JAR@
-# The resources of the 'hello' program, excluding message catalogs, but
-# including the fallback message catalog.
-hello_RESOURCES = hello-java-qtjambi.properties
-
-# Resources that are generated from PO files.
-MAINTAINERCLEANFILES = hello-java-qtjambi*.properties
-
# Additional files to be distributed.
EXTRA_DIST = autogen.sh autoclean.sh
hello.jar: $(hello_CLASSES)
{ echo "Manifest-Version: 1.0"; echo "Main-Class: $(hello_MAINCLASS)"; echo 'Class-Path: @LIBINTL_JAR@'; } > Manifest.mf
- catalogs=`MAKEFLAGS= $(MAKE) -s -C po echo-catalogs`; \
- $(JAR) cfm $@ Manifest.mf Hello*.class $(hello_RESOURCES) $$catalogs
+ $(JAR) cfm $@ Manifest.mf Hello*.class
rm -f Manifest.mf
+ abs_jar=`pwd`/$@; (cd po && $(MAKE)) && catalogs=`GNUMAKEFLAGS=--no-print-directory $(MAKE) -s -C po echo-catalogs`; test -n "$$catalogs" && (cd $(srcdir) && $(JAR) uf "$$abs_jar" $$catalogs) || { rm -f $@ jartmp*; exit 1; }
Hello.class: $(srcdir)/Hello.java
CLASSPATH=.@CLASSPATH_SEPARATOR@$(hello_JAVALIBS)@CLASSPATH_SEPARATOR@$$CLASSPATH $(JAVACOMP) -d . $(srcdir)/Hello.java
$(DUMMYPOFILES):
-update-properties: Makefile $(DOMAIN).pot $(POFILES)
- @echo "$(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \
- $(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; }
+update-properties: Makefile $(srcdir)/$(DOMAIN).pot $(POFILES)
+ @echo "$(MSGINIT) -i $(srcdir)/$(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \
+ $(MSGINIT) -i $(srcdir)/$(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; }
@for f in $(POFILES); do \
lang=`echo $$f | sed -e 's,.*/,,' -e 's,\.po$$,,'`; \
echo "$(GMSGFMT) -c --statistics --verbose -o /dev/null $(srcdir)/$${lang}.po"; \
done
# Alternatively, we could create classes instead of properties files.
-update-classes: Makefile $(DOMAIN).pot $(POFILES)
- @echo "$(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \
- $(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; }
+update-classes: Makefile $(srcdir)/$(DOMAIN).pot $(POFILES)
+ @echo "$(MSGINIT) -i $(srcdir)/$(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \
+ $(MSGINIT) -i $(srcdir)/$(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; }
@for f in $(POFILES); do \
lang=`echo $$f | sed -e 's,.*/,,' -e 's,\.po$$,,'`; \
echo "$(GMSGFMT) -c --statistics --verbose -j -d $(top_srcdir) -r $(DOMAIN) -l $${lang} $(srcdir)/$${lang}.po"; \
done
echo-catalogs:
- @echo $(CATALOGS)
+# When packaging the catalogs for installation, include the fallback catalog always.
+ @echo $(DOMAIN).properties $(CATALOGS)
# The link dependencies of the 'hello' program.
hello_JAVALIBS = @LIBINTL_JAR@
-# The resources of the 'hello' program, excluding message catalogs, but
-# including the fallback message catalog.
-hello_RESOURCES = hello-java-swing.properties
-
-# Resources that are generated from PO files.
-MAINTAINERCLEANFILES = hello-java-swing*.properties
-
# Additional files to be distributed.
EXTRA_DIST = autogen.sh autoclean.sh
hello.jar: $(hello_CLASSES)
{ echo "Manifest-Version: 1.0"; echo "Main-Class: $(hello_MAINCLASS)"; echo 'Class-Path: @LIBINTL_JAR@'; } > Manifest.mf
- catalogs=`MAKEFLAGS= $(MAKE) -s -C po echo-catalogs`; \
- $(JAR) cfm $@ Manifest.mf Hello*.class $(hello_RESOURCES) $$catalogs
+ $(JAR) cfm $@ Manifest.mf Hello*.class
rm -f Manifest.mf
+ abs_jar=`pwd`/$@; (cd po && $(MAKE)) && catalogs=`GNUMAKEFLAGS=--no-print-directory $(MAKE) -s -C po echo-catalogs`; test -n "$$catalogs" && (cd $(srcdir) && $(JAR) uf "$$abs_jar" $$catalogs) || { rm -f $@ jartmp*; exit 1; }
Hello.class: $(srcdir)/Hello.java
CLASSPATH=.@CLASSPATH_SEPARATOR@$(hello_JAVALIBS) $(JAVACOMP) -d . $(srcdir)/Hello.java
$(DUMMYPOFILES):
-update-properties: Makefile $(DOMAIN).pot $(POFILES)
- @echo "$(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \
- $(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; }
+update-properties: Makefile $(srcdir)/$(DOMAIN).pot $(POFILES)
+ @echo "$(MSGINIT) -i $(srcdir)/$(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \
+ $(MSGINIT) -i $(srcdir)/$(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; }
@for f in $(POFILES); do \
lang=`echo $$f | sed -e 's,.*/,,' -e 's,\.po$$,,'`; \
echo "$(GMSGFMT) -c --statistics --verbose -o /dev/null $(srcdir)/$${lang}.po"; \
done
# Alternatively, we could create classes instead of properties files.
-update-classes: Makefile $(DOMAIN).pot $(POFILES)
- @echo "$(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \
- $(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; }
+update-classes: Makefile $(srcdir)/$(DOMAIN).pot $(POFILES)
+ @echo "$(MSGINIT) -i $(srcdir)/$(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \
+ $(MSGINIT) -i $(srcdir)/$(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; }
@for f in $(POFILES); do \
lang=`echo $$f | sed -e 's,.*/,,' -e 's,\.po$$,,'`; \
echo "$(GMSGFMT) -c --statistics --verbose -j -d $(top_srcdir) -r $(DOMAIN) -l $${lang} $(srcdir)/$${lang}.po"; \
done
echo-catalogs:
- @echo $(CATALOGS)
+# When packaging the catalogs for installation, include the fallback catalog always.
+ @echo $(DOMAIN).properties $(CATALOGS)
# The link dependencies of the 'hello' program.
hello_JAVALIBS = @LIBINTL_JAR@
-# The resources of the 'hello' program, excluding message catalogs, but
-# including the fallback message catalog.
-hello_RESOURCES = hello-java.properties
-
-# Resources that are generated from PO files.
-MAINTAINERCLEANFILES = hello-java*.properties
-
# Additional files to be distributed.
EXTRA_DIST = autogen.sh autoclean.sh
hello.jar: $(hello_CLASSES)
{ echo "Manifest-Version: 1.0"; echo "Main-Class: $(hello_MAINCLASS)"; echo 'Class-Path: @LIBINTL_JAR@'; } > Manifest.mf
- catalogs=`MAKEFLAGS= $(MAKE) -s -C po echo-catalogs`; \
- $(JAR) cfm $@ Manifest.mf Hello*.class $(hello_RESOURCES) $$catalogs
+ $(JAR) cfm $@ Manifest.mf Hello*.class
rm -f Manifest.mf
+ abs_jar=`pwd`/$@; (cd po && $(MAKE)) && catalogs=`GNUMAKEFLAGS=--no-print-directory $(MAKE) -s -C po echo-catalogs`; test -n "$$catalogs" && (cd $(srcdir) && $(JAR) uf "$$abs_jar" $$catalogs) || { rm -f $@ jartmp*; exit 1; }
Hello.class: $(srcdir)/Hello.java
CLASSPATH=.@CLASSPATH_SEPARATOR@$(hello_JAVALIBS) $(JAVACOMP) -d . $(srcdir)/Hello.java
$(DUMMYPOFILES):
-update-properties: Makefile $(DOMAIN).pot $(POFILES)
- @echo "$(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \
- $(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; }
+update-properties: Makefile $(srcdir)/$(DOMAIN).pot $(POFILES)
+ @echo "$(MSGINIT) -i $(srcdir)/$(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \
+ $(MSGINIT) -i $(srcdir)/$(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; }
@for f in $(POFILES); do \
lang=`echo $$f | sed -e 's,.*/,,' -e 's,\.po$$,,'`; \
echo "$(GMSGFMT) -c --statistics --verbose -o /dev/null $(srcdir)/$${lang}.po"; \
done
# Alternatively, we could create classes instead of properties files.
-update-classes: Makefile $(DOMAIN).pot $(POFILES)
- @echo "$(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \
- $(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; }
+update-classes: Makefile $(srcdir)/$(DOMAIN).pot $(POFILES)
+ @echo "$(MSGINIT) -i $(srcdir)/$(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \
+ $(MSGINIT) -i $(srcdir)/$(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; }
@for f in $(POFILES); do \
lang=`echo $$f | sed -e 's,.*/,,' -e 's,\.po$$,,'`; \
echo "$(GMSGFMT) -c --statistics --verbose -j -d $(top_srcdir) -r $(DOMAIN) -l $${lang} $(srcdir)/$${lang}.po"; \
done
echo-catalogs:
- @echo $(CATALOGS)
+# When packaging the catalogs for installation, include the fallback catalog always.
+ @echo $(DOMAIN).properties $(CATALOGS)
bin_PASCALPROGRAMS = hello
# The source files of the 'hello' program.
-hello_SOURCES = hello.pas
+hello_SOURCES = $(srcdir)/hello.pas
# Additional files to be distributed.
EXTRA_DIST = autogen.sh autoclean.sh
# How to build the 'hello' program.
hello$(EXEEXT) hello.rsj: $(hello_SOURCES)
- LOCALEDIR='@localedir@' $(PPC) $(hello_SOURCES)
+ LOCALEDIR='@localedir@' $(PPC) -o./hello$(EXEEXT) $(hello_SOURCES)
install-exec-local: all-local
$(MKDIR_P) $(DESTDIR)$(bindir)