mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
DESTDIR removed, again.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
#
|
||||
#
|
||||
# IDENTIFICATION
|
||||
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.10 1998/04/06 01:35:43 momjian Exp $
|
||||
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.11 1998/04/06 16:52:15 momjian Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
@ -88,18 +88,18 @@ $(shlib): $(OBJS)
|
||||
install: install-headers install-libpgtcl $(install-shlib-dep)
|
||||
|
||||
install-headers: beforeinstall-headers libpgtcl.h
|
||||
$(INSTALL) $(INSTLOPTS) libpgtcl.h $(DESTDIR)$(HEADERDIR)/libpgtcl.h
|
||||
$(INSTALL) $(INSTLOPTS) libpgtcl.h $(HEADERDIR)/libpgtcl.h
|
||||
|
||||
beforeinstall-headers:
|
||||
@if [ ! -d $(DESTDIR)$(HEADERDIR) ]; then mkdir $(DESTDIR)$(HEADERDIR); fi
|
||||
@if [ ! -d $(HEADERDIR) ]; then mkdir $(HEADERDIR); fi
|
||||
|
||||
install-libpgtcl: libpgtcl.a
|
||||
$(INSTALL) $(INSTL_LIB_OPTS) libpgtcl.a $(DESTDIR)$(LIBDIR)/libpgtcl.a
|
||||
$(INSTALL) $(INSTL_LIB_OPTS) libpgtcl.a $(LIBDIR)/libpgtcl.a
|
||||
|
||||
install-shlib: $(shlib)
|
||||
$(INSTALL) $(INSTL_LIB_OPTS) $(shlib) \
|
||||
$(DESTDIR)$(LIBDIR)/$(shlib)
|
||||
ln -sf $(shlib) $(DESTDIR)$(LIBDIR)/libpgtcl.so
|
||||
$(LIBDIR)/$(shlib)
|
||||
ln -sf $(shlib) $(LIBDIR)/libpgtcl.so
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
|
Reference in New Issue
Block a user