Skip to content

Commit a18fc98

Browse files
committed
Ensure that $(DESTDIR)$(libdir) exists.
1 parent a327231 commit a18fc98

File tree

2 files changed

+7
-18
lines changed

2 files changed

+7
-18
lines changed

libcharset/lib/ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2009-03-26 Bruno Haible <bruno@clisp.org>
2+
3+
* Makefile.in (install, installdir): Ensure that $(DESTDIR)$(libdir)
4+
exists, unconditionally.
5+
16
2009-03-25 Bruno Haible <bruno@clisp.org>
27

38
* relocatable.h: Update from gnulib.

libcharset/lib/Makefile.in

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,7 @@ install : all force
107107
else \
108108
need_charset_alias=false ; \
109109
fi ; \
110-
if $$need_charset_alias; then \
111-
$(mkinstalldirs) $(DESTDIR)$(libdir) ; \
112-
fi ; \
110+
$(mkinstalldirs) $(DESTDIR)$(libdir) ; \
113111
$(LIBTOOL_INSTALL) $(INSTALL_DATA) libcharset.la $(DESTDIR)$(libdir)/libcharset.la
114112
if test -f $(DESTDIR)$(libdir)/charset.alias; then \
115113
sed -f ref-add.sed $(DESTDIR)$(libdir)/charset.alias > $(DESTDIR)$(libdir)/t-charset.alias; \
@@ -126,21 +124,7 @@ install : all force
126124
install-strip : install
127125

128126
installdirs : force
129-
if test @GLIBC21@ = no; then \
130-
case '@host_os@' in \
131-
darwin[56]*) \
132-
need_charset_alias=true ;; \
133-
darwin* | cygwin* | mingw* | pw32* | cegcc*) \
134-
need_charset_alias=false ;; \
135-
*) \
136-
need_charset_alias=true ;; \
137-
esac ; \
138-
else \
139-
need_charset_alias=false ; \
140-
fi ; \
141-
if $$need_charset_alias; then \
142-
$(mkinstalldirs) $(DESTDIR)$(libdir) ; \
143-
fi ; \
127+
$(mkinstalldirs) $(DESTDIR)$(libdir)
144128

145129
uninstall : force
146130
$(LIBTOOL_UNINSTALL) $(RM) $(DESTDIR)$(libdir)/libcharset.la

0 commit comments

Comments
 (0)