aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSARL ENR-68 <david@david.david>2015-01-25 16:55:49 +0100
committerSARL ENR-68 <david@david.david>2015-01-25 16:55:49 +0100
commita8bc79976cbf08ec19dc58b7f52875c6dc1a3e6f (patch)
treea837292d6d0401d416605f69ef67075e2628ee45 /Makefile
parent8ca59788d485f5ba41d686779723e1a0dc480942 (diff)
downloadisodumper-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--Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3a7d8aa..2975e35 100644
--- a/Makefile
+++ b/Makefile
@@ -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 *