Browse Source

little Makefile fix

tags/v5.1.2
guinux 4 years ago
parent
commit
7234a4925b
2 changed files with 2 additions and 2 deletions
  1. +0
    -1
      Makefile
  2. +2
    -1
      po/Makefile

+ 0
- 1
Makefile View File

@@ -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


+ 2
- 1
po/Makefile View File

@@ -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…
Cancel
Save