From 7234a4925b02dfa75dfbb0815778198ae3fe63f7 Mon Sep 17 00:00:00 2001 From: guinux Date: Tue, 1 Mar 2016 15:00:05 +0100 Subject: [PATCH] little Makefile fix --- Makefile | 1 - po/Makefile | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 850939c..32548cc 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,6 @@ clean: cd resources && make clean cd src && make clean cd po && make clean - rm -f data/polkit/org.manjaro.pamac.policy install: mkdir -p $(prefix)/share/icons/hicolor diff --git a/po/Makefile b/po/Makefile index ac2324a..0a4edcd 100644 --- a/po/Makefile +++ b/po/Makefile @@ -3,12 +3,13 @@ MSGLANGS=$(notdir $(wildcard *.po)) MSGOBJS=$(addprefix locale/,$(MSGLANGS:.po=/LC_MESSAGES/pamac.mo)) -gettext: $(MSGOBJS) +gettext: ../data/polkit/org.manjaro.pamac.policy.in $(MSGOBJS) itstool -j ../data/polkit/org.manjaro.pamac.policy.in -o ../data/polkit/org.manjaro.pamac.policy $(MSGLANGS:.po=.mo) clean: rm -rf locale rm -f *.mo + rm -f ../data/polkit/org.manjaro.pamac.policy locale/%/LC_MESSAGES/pamac.mo: %.po msgfmt -c -o $*.mo $*.po