diff options
author | SARL ENR-68 <david@david.david> | 2015-01-25 16:55:49 +0100 |
---|---|---|
committer | SARL ENR-68 <david@david.david> | 2015-01-25 16:55:49 +0100 |
commit | a8bc79976cbf08ec19dc58b7f52875c6dc1a3e6f (patch) | |
tree | a837292d6d0401d416605f69ef67075e2628ee45 /Makefile | |
parent | 8ca59788d485f5ba41d686779723e1a0dc480942 (diff) | |
download | isodumper-a8bc79976cbf08ec19dc58b7f52875c6dc1a3e6f.tar isodumper-a8bc79976cbf08ec19dc58b7f52875c6dc1a3e6f.tar.gz isodumper-a8bc79976cbf08ec19dc58b7f52875c6dc1a3e6f.tar.bz2 isodumper-a8bc79976cbf08ec19dc58b7f52875c6dc1a3e6f.tar.xz isodumper-a8bc79976cbf08ec19dc58b7f52875c6dc1a3e6f.zip |
Change for automatic formatting and compiling '.po' files during build
- add new Makefile for po files
- fix main Makefile adding po/Makefile
- remove locale folder
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -26,20 +26,26 @@ LOCALEDIR=$(PREFIX) DOCDIR=$(PREFIX)/share/doc/isodumper PYTHON=/usr/bin/env python DIRS = polkit +POFILES = po -all: dirs +all: dirs pofiles dirs: @for n in . $(DIRS); do \ [ "$$n" = "." ] || make -C $$n || cd .. || exit 1 ;\ done +pofiles: + @for n in . $(POFILES); do \ + [ "$$n" = "." ] || make -C $$n || cd .. || exit 1 ;\ + done + clean: rm -f polkit/isodumper polkit/org.mageia.isodumper.policy \ isodumper.tar.xz -install: all +install: # for binary file script isodumper on /usr/libexec/ mkdir -p $(DESTDIR)$(LIBEXECDIR) @@ -98,7 +104,6 @@ install: all install -m 644 $$locale/LC_MESSAGES/isodumper.mo $(DESTDIR)$(LOCALEDIR)/$$locale/LC_MESSAGES/isodumper.mo; \ done - tar: tar cvJf isodumper.tar.xz * |