TARGETS = XMLEditor.pot fr.mo PREFIX = /usr/local DESTDIR = RM = rm -f LN = ln -f MKDIR = mkdir -p INSTALL = install all: $(TARGETS) XMLEditor.pot: POTFILES ./gettext.sh "XMLEditor.pot" fr.mo: XMLEditor.pot fr.po ./gettext.sh "fr.mo" clean: $(RM) -- $(XMLEditor.pot_OBJS) $(fr.mo_OBJS) distclean: clean $(RM) -- $(TARGETS) install: all ./gettext.sh -p "$(DESTDIR)$(PREFIX)" install "fr.mo" uninstall: ./gettext.sh -p "$(DESTDIR)$(PREFIX)" uninstall "fr.mo" .PHONY: all clean distclean install uninstall