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