LDF_D := -Wl,--as-needed `pkg-config --libs glib-2.0 dbus-glib-1` `curl-config --libs` -Wl,"-z relro" -Wl,"-z now"
all: corewatcher corewatcher-applet corewatcher.8.gz
+ @(cd po/ && $(MAKE) $@)
noui: corewatcher corewatcher.8.gz
install -m 0644 icon.png $(DESTDIR)/usr/share/corewatcher/icon.png
install: install-system install-corewatcher install-applet
+ @(cd po/ && $(MAKE) $@)
install-noui: install-system install-corewatcher
OBJ= $(SRC:.po=.mo)
INST= $(SRC:.po=.inst)
+all: translations
+
translations: $(OBJ)
%.mo: %.po
- -@msgfmt -o $@ $<
+ msgfmt -o $@ $<
clean:
rm -f *.mo *~
install: $(OBJ) $(INST)
%.inst: %.mo
- mkdir -p $(DESTDIR)$(LOCALESDIR)/$*/LC_MESSAGES/
- -cp -f $< $(DESTDIR)$(LOCALESDIR)/$*/LC_MESSAGES/corewatcher.mo
+ -mkdir -p $(DESTDIR)$(LOCALESDIR)/$*/LC_MESSAGES/
+ cp -f $< $(DESTDIR)$(LOCALESDIR)/$*/LC_MESSAGES/corewatcher.mo
uptrans: $(LG).po