aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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 *