diff options
author | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-05-25 17:40:23 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-05-25 17:40:23 -0400 |
commit | 201e727a1fc571f3a56763dc044a58504cc89af6 (patch) | |
tree | d0022b589fdfb386c288ceabc0ed1eca535f1800 /Makefile | |
parent | fd989ad95135e5e018cf69966be60ee99c9b6280 (diff) | |
download | third_party-cobbler-201e727a1fc571f3a56763dc044a58504cc89af6.tar.gz third_party-cobbler-201e727a1fc571f3a56763dc044a58504cc89af6.tar.xz third_party-cobbler-201e727a1fc571f3a56763dc044a58504cc89af6.zip |
Starting to add i18n to cobbler using rhpl
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,5 @@ +MESSAGESPOT=po/messages.pot + all: rpms clean: @@ -15,15 +17,20 @@ test: python tests/tests.py -rm -rf /tmp/_cobbler-* -build: clean +build: clean messages python setup.py build -f install: clean python setup.py install -f -sdist: clean +sdist: clean messages python setup.py sdist +messages: cobbler/*.py + xgettext -k_ -kN_ -o $(MESSAGESPOT) cobbler/*.py + sed -i'~' -e 's/SOME DESCRIPTIVE TITLE/cobbler/g' -e 's/YEAR THE PACKAGE'"'"'S COPYRIGHT HOLDER/2007 Red Hat, Inc. /g' -e 's/FIRST AUTHOR <EMAIL@ADDRESS>, YEAR/Michael DeHaan <mdehaan@redhat.com>, 2007/g' -e 's/PACKAGE VERSION/cobbler $(VERSION)-$(RELEASE)/g' -e 's/PACKAGE/cobbler/g' $(MESSAGESPOT) + + rpms: manpage sdist mkdir -p rpm-build cp dist/*.gz rpm-build/ |