little Makefile fix
This commit is contained in:
parent
85731c3a9f
commit
7234a4925b
1
Makefile
1
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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user