$FreeBSD$ --- Makefile.orig +++ Makefile @@ -13,7 +13,7 @@ include makeinfo pdmenu: .dep $(OBJFILES) - ${CC} -o pdmenu $(OBJFILES) $(CFLAGS) $(LIBS) + ${CC} -o pdmenu $(OBJFILES) $(CFLAGS) $(LIBS) -lintl depend: .dep dep: .dep @@ -57,8 +57,7 @@ $(INSTALL) examples/showdir.pl $(INSTALL_PREFIX)/$(DATADIR)/pdmenu cd $(INSTALL_PREFIX)/$(DATADIR)/pdmenu && $(LN_S) -f showdir.pl editdir.pl for lang in $(LANGS); do \ - [ ! -d $(LOCALEDIR)/$$lang/LC_MESSAGES/ ] && mkdir -p $(LOCALEDIR)/$$lang/LC_MESSAGES/; \ - install -m 644 po/$$lang.mo $(LOCALEDIR)/$$lang/LC_MESSAGES/pdmenu.mo; \ + install -m 644 po/$$lang.mo $(PREFIX)/share/locale/$$lang/LC_MESSAGES/pdmenu.mo; \ done test: pdmenu