Use backticks for command substitutions in Makefile to make it work on older sh implementations

darcs-hash:20060121160117-ac50b-80b950ee724d149a0cdf8373c9a2a8dcc21bed04.gz
This commit is contained in:
axel 2006-01-22 02:01:17 +10:00
parent b9b09babbe
commit fea22833cd

View file

@ -353,16 +353,16 @@ uninstall: uninstall-translations
install-translations: $(TRANSLATIONS) install-translations: $(TRANSLATIONS)
if test $(HAVE_GETTEXT) = 1; then \ if test $(HAVE_GETTEXT) = 1; then \
for i in $(TRANSLATIONS); do \ for i in $(TRANSLATIONS); do \
$(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/locale/$$(basename $$i .gmo)/LC_MESSAGES; \ $(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/locale/`basename $$i .gmo`/LC_MESSAGES; \
$(INSTALL) -m 644 $$i $(DESTDIR)$(datadir)/locale/$$(basename $$i .gmo)/LC_MESSAGES/fish.mo; \ $(INSTALL) -m 644 $$i $(DESTDIR)$(datadir)/locale/`basename $$i .gmo`/LC_MESSAGES/fish.mo; \
echo $(DESTDIR)$(datadir)/locale/$$(basename $$i .gmo)/LC_MESSAGES/fish.mo;\ echo $(DESTDIR)$(datadir)/locale/`basename $$i .gmo`/LC_MESSAGES/fish.mo;\
done; \ done; \
fi fi
uninstall-translations: uninstall-translations:
if test $(HAVE_GETTEXT) = 1; then \ if test $(HAVE_GETTEXT) = 1; then \
for i in $(TRANSLATIONS_SRC); do \ for i in $(TRANSLATIONS_SRC); do \
rm -f $(DESTDIR)$(datadir)/locale/$$(basename $$i .po)/LC_MESSAGES/fish.mo; \ rm -f $(DESTDIR)$(datadir)/locale/`basename $$i .po`/LC_MESSAGES/fish.mo; \
done; \ done; \
fi fi