1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

We call $(mkinstalldirs) $(MKINSTALLDIRS)

Should fix make install.
This commit is contained in:
Petr Baudis 2005-09-23 09:08:47 +02:00 committed by Petr Baudis
parent ade2ae0a69
commit bd0f5ba60d
2 changed files with 4 additions and 4 deletions

View File

@ -109,13 +109,13 @@ check-po:
install-l: install-l-$(CONFIG_NLS) install-l: install-l-$(CONFIG_NLS)
install-l-no: install-l-no:
install-l-yes: install-l-yes:
$(mkinstalldirs) $(DESTDIR)$(localedir) $(MKINSTALLDIRS) $(DESTDIR)$(localedir)
@catalogs='$(CATALOGS)'; \ @catalogs='$(CATALOGS)'; \
for cat in $$catalogs; do \ for cat in $$catalogs; do \
cat=`basename $$cat`; \ cat=`basename $$cat`; \
lang=`echo $$cat | sed 's/\.gmo$$//'`; \ lang=`echo $$cat | sed 's/\.gmo$$//'`; \
dir=$(localedir)/$$lang/LC_MESSAGES; \ dir=$(localedir)/$$lang/LC_MESSAGES; \
$(mkinstalldirs) $(DESTDIR)$$dir; \ $(MKINSTALLDIRS) $(DESTDIR)$$dir; \
if test -r $(srcdir)/$$cat; then \ if test -r $(srcdir)/$$cat; then \
$(INSTALL_DATA) $(srcdir)/$$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \ $(INSTALL_DATA) $(srcdir)/$$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \
echo "installing $$cat as $(DESTDIR)$$dir/$(PACKAGE).mo"; \ echo "installing $$cat as $(DESTDIR)$$dir/$(PACKAGE).mo"; \

View File

@ -52,14 +52,14 @@ install-l: $(builddir)/charset.alias all
rm -f $$temp; \ rm -f $$temp; \
else \ else \
if test @GLIBC21@ = no; then \ if test @GLIBC21@ = no; then \
$(mkinstalldirs) $(DESTDIR)$(libdir); \ $(MKINSTALLDIRS) $(DESTDIR)$(libdir); \
orig=charset.alias; \ orig=charset.alias; \
sed -f ref-add.sed $$orig > $$temp; \ sed -f ref-add.sed $$orig > $$temp; \
$(INSTALL_DATA) $$temp $$dest; \ $(INSTALL_DATA) $$temp $$dest; \
rm -f $$temp; \ rm -f $$temp; \
fi; \ fi; \
fi; \ fi; \
$(mkinstalldirs) $(DESTDIR)$(localedir); \ $(MKINSTALLDIRS) $(DESTDIR)$(localedir); \
test -f $(DESTDIR)$(localedir)/locale.alias \ test -f $(DESTDIR)$(localedir)/locale.alias \
&& orig=$(DESTDIR)$(localedir)/locale.alias \ && orig=$(DESTDIR)$(localedir)/locale.alias \
|| orig=$(srcdir)/locale.alias; \ || orig=$(srcdir)/locale.alias; \