Author: mog
Date: Thu May 22 22:37:02 2008
New Revision: 26781

URL: http://svn.gna.org/viewcvs/wesnoth?rev=26781&view=rev
Log:
Revert accidental commit of these Makefiles in r26411.

Modified:
    trunk/po/wesnoth-manpages/Makefile
    trunk/po/wesnoth-manual/Makefile

Modified: trunk/po/wesnoth-manpages/Makefile
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/po/wesnoth-manpages/Makefile?rev=26781&r1=26780&r2=26781&view=diff
==============================================================================
--- trunk/po/wesnoth-manpages/Makefile (original)
+++ trunk/po/wesnoth-manpages/Makefile Thu May 22 22:37:02 2008
@@ -1,136 +1,30 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.4
+#
+# This makefile was created with the sole purpose of emulating the 
+# makefiles of the rest of domains (and thus make updates easily
+# scriptable).
+#
 
-# Default target executed when no arguments are given to make.
-default_target: all
+DOMAIN= wesnoth-manpages
+MSGMERGE = msgmerge
+MSGFMT = msgfmt
 
-#=============================================================================
-# Special targets provided by cmake.
+.SUFFIXES: .gmo .po .po-update
 
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
+.po.po-update:
+       @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+       tmpdir=`pwd`; \
+       echo "$$lang:"; \
+       echo "$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+       if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \
+         mv -f $$tmpdir/$$lang.new.po $$lang.po; \
+       else \
+         echo "msgmerge for $$lang.po failed!" 1>&2; \
+         rm -f $$tmpdir/$$lang.new.po; \
+       fi
 
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# The program to use to edit the cache.
-CMAKE_EDIT_COMMAND = /usr/bin/ccmake
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/mog/src/wesnoth
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/mog/src/wesnoth
-
-# Include the progress variables for this target.
-include CMakeFiles/progress.make
-
-#=============================================================================
-# Targets provided globally by CMake.
-
-# Special rule for the target edit_cache
-edit_cache:
-       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running 
CMake cache editor..."
-       cd /home/mog/src/wesnoth/po/wesnoth-manpages && /usr/bin/ccmake 
-H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-
-# Special rule for the target edit_cache
-edit_cache/fast: edit_cache
-
-# Special rule for the target install
-install: preinstall
-       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install 
the project..."
-       cd /home/mog/src/wesnoth/po/wesnoth-manpages && /usr/bin/cmake -P 
cmake_install.cmake
-
-# Special rule for the target install
-install/fast: preinstall/fast
-       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install 
the project..."
-       cd /home/mog/src/wesnoth/po/wesnoth-manpages && /usr/bin/cmake -P 
cmake_install.cmake
-
-# Special rule for the target install/local
-install/local: preinstall
-       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan 
"Installing only the local directory..."
-       cd /home/mog/src/wesnoth/po/wesnoth-manpages && /usr/bin/cmake 
-DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
-
-# Special rule for the target install/local
-install/local/fast: install/local
-
-# Special rule for the target list_install_components
-list_install_components:
-       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan 
"Available install components are: \"Unspecified\""
-
-# Special rule for the target list_install_components
-list_install_components/fast: list_install_components
-
-# Special rule for the target rebuild_cache
-rebuild_cache:
-       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running 
CMake to regenerate build system..."
-       cd /home/mog/src/wesnoth/po/wesnoth-manpages && /usr/bin/cmake 
-H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-
-# Special rule for the target rebuild_cache
-rebuild_cache/fast: rebuild_cache
-
-# The main all target
-all: cmake_check_build_system
-       cd /home/mog/src/wesnoth && $(CMAKE_COMMAND) -E cmake_progress_start 
/home/mog/src/wesnoth/CMakeFiles $(CMAKE_ALL_PROGRESS)
-       cd /home/mog/src/wesnoth && $(MAKE) -f CMakeFiles/Makefile2 
po/wesnoth-manpages/all
-       $(CMAKE_COMMAND) -E cmake_progress_start 
/home/mog/src/wesnoth/CMakeFiles 0
-
-# The main clean target
-clean:
-       cd /home/mog/src/wesnoth && $(MAKE) -f CMakeFiles/Makefile2 
po/wesnoth-manpages/clean
-
-# The main clean target
-clean/fast: clean
-
-# Prepare targets for installation.
-preinstall: all
-       cd /home/mog/src/wesnoth && $(MAKE) -f CMakeFiles/Makefile2 
po/wesnoth-manpages/preinstall
-
-# Prepare targets for installation.
-preinstall/fast:
-       cd /home/mog/src/wesnoth && $(MAKE) -f CMakeFiles/Makefile2 
po/wesnoth-manpages/preinstall
-
-# clear depends
-depend:
-       $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) 
--check-build-system CMakeFiles/Makefile.cmake 1
-
-# Help Target
-help::
-       @echo "The following are some of the valid targets for this Makefile:"
-       @echo "... all (the default if no target is provided)"
-       @echo "... clean"
-       @echo "... depend"
-       @echo "... edit_cache"
-       @echo "... install"
-       @echo "... install/local"
-       @echo "... list_install_components"
-       @echo "... rebuild_cache"
-
-
-
-#=============================================================================
-# Special targets to cleanup operation of make.
-
-# Special rule to run CMake to check the build system integrity.
-# No rule that depends on this can have commands that come from listfiles
-# because they might be regenerated.
-cmake_check_build_system:
-       cd /home/mog/src/wesnoth && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) 
-B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
-
+# this dummy rule only displays the statistics, there is no need to
+# generate .gmo files for po4a manpages
+.po.gmo:
+       @lang=`echo $* | sed -e 's,.*/,,'`; \
+       echo "$(MSGFMT) -c --statistics -o /dev/null $${lang}.po"; \
+       $(MSGFMT) -c --statistics -o /dev/null $${lang}.po

Modified: trunk/po/wesnoth-manual/Makefile
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/po/wesnoth-manual/Makefile?rev=26781&r1=26780&r2=26781&view=diff
==============================================================================
--- trunk/po/wesnoth-manual/Makefile (original)
+++ trunk/po/wesnoth-manual/Makefile Thu May 22 22:37:02 2008
@@ -1,136 +1,30 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.4
+#
+# This makefile was created with the sole purpose of emulating the 
+# makefiles of the rest of domains (and thus make updates easily
+# scriptable).
+#
 
-# Default target executed when no arguments are given to make.
-default_target: all
+DOMAIN= wesnoth-manual
+MSGMERGE = msgmerge
+MSGFMT = msgfmt
 
-#=============================================================================
-# Special targets provided by cmake.
+.SUFFIXES: .gmo .po .po-update
 
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
+.po.po-update:
+       @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+       tmpdir=`pwd`; \
+       echo "$$lang:"; \
+       echo "$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+       if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \
+         mv -f $$tmpdir/$$lang.new.po $$lang.po; \
+       else \
+         echo "msgmerge for $$lang.po failed!" 1>&2; \
+         rm -f $$tmpdir/$$lang.new.po; \
+       fi
 
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# The program to use to edit the cache.
-CMAKE_EDIT_COMMAND = /usr/bin/ccmake
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/mog/src/wesnoth
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/mog/src/wesnoth
-
-# Include the progress variables for this target.
-include CMakeFiles/progress.make
-
-#=============================================================================
-# Targets provided globally by CMake.
-
-# Special rule for the target edit_cache
-edit_cache:
-       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running 
CMake cache editor..."
-       cd /home/mog/src/wesnoth/po/wesnoth-manual && /usr/bin/ccmake 
-H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-
-# Special rule for the target edit_cache
-edit_cache/fast: edit_cache
-
-# Special rule for the target install
-install: preinstall
-       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install 
the project..."
-       cd /home/mog/src/wesnoth/po/wesnoth-manual && /usr/bin/cmake -P 
cmake_install.cmake
-
-# Special rule for the target install
-install/fast: preinstall/fast
-       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install 
the project..."
-       cd /home/mog/src/wesnoth/po/wesnoth-manual && /usr/bin/cmake -P 
cmake_install.cmake
-
-# Special rule for the target install/local
-install/local: preinstall
-       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan 
"Installing only the local directory..."
-       cd /home/mog/src/wesnoth/po/wesnoth-manual && /usr/bin/cmake 
-DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
-
-# Special rule for the target install/local
-install/local/fast: install/local
-
-# Special rule for the target list_install_components
-list_install_components:
-       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan 
"Available install components are: \"Unspecified\""
-
-# Special rule for the target list_install_components
-list_install_components/fast: list_install_components
-
-# Special rule for the target rebuild_cache
-rebuild_cache:
-       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running 
CMake to regenerate build system..."
-       cd /home/mog/src/wesnoth/po/wesnoth-manual && /usr/bin/cmake 
-H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
-
-# Special rule for the target rebuild_cache
-rebuild_cache/fast: rebuild_cache
-
-# The main all target
-all: cmake_check_build_system
-       cd /home/mog/src/wesnoth && $(CMAKE_COMMAND) -E cmake_progress_start 
/home/mog/src/wesnoth/CMakeFiles $(CMAKE_ALL_PROGRESS)
-       cd /home/mog/src/wesnoth && $(MAKE) -f CMakeFiles/Makefile2 
po/wesnoth-manual/all
-       $(CMAKE_COMMAND) -E cmake_progress_start 
/home/mog/src/wesnoth/CMakeFiles 0
-
-# The main clean target
-clean:
-       cd /home/mog/src/wesnoth && $(MAKE) -f CMakeFiles/Makefile2 
po/wesnoth-manual/clean
-
-# The main clean target
-clean/fast: clean
-
-# Prepare targets for installation.
-preinstall: all
-       cd /home/mog/src/wesnoth && $(MAKE) -f CMakeFiles/Makefile2 
po/wesnoth-manual/preinstall
-
-# Prepare targets for installation.
-preinstall/fast:
-       cd /home/mog/src/wesnoth && $(MAKE) -f CMakeFiles/Makefile2 
po/wesnoth-manual/preinstall
-
-# clear depends
-depend:
-       $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) 
--check-build-system CMakeFiles/Makefile.cmake 1
-
-# Help Target
-help::
-       @echo "The following are some of the valid targets for this Makefile:"
-       @echo "... all (the default if no target is provided)"
-       @echo "... clean"
-       @echo "... depend"
-       @echo "... edit_cache"
-       @echo "... install"
-       @echo "... install/local"
-       @echo "... list_install_components"
-       @echo "... rebuild_cache"
-
-
-
-#=============================================================================
-# Special targets to cleanup operation of make.
-
-# Special rule to run CMake to check the build system integrity.
-# No rule that depends on this can have commands that come from listfiles
-# because they might be regenerated.
-cmake_check_build_system:
-       cd /home/mog/src/wesnoth && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) 
-B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
-
+# this dummy rule only displays the statistics, there is no need to
+# generate .gmo files for po4a manpages
+.po.gmo:
+       @lang=`echo $* | sed -e 's,.*/,,'`; \
+       echo "$(MSGFMT) -c --statistics -o /dev/null $${lang}.po"; \
+       $(MSGFMT) -c --statistics -o /dev/null $${lang}.po


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to