mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-23 15:25:01 +00:00
Fix install target bugs.
This commit is contained in:
@@ -14,6 +14,9 @@ prefix =@prefix@
|
||||
exec_prefix =@exec_prefix@
|
||||
libdir =$(exec_prefix)/lib
|
||||
includedir =$(exec_prefix)/include
|
||||
pdcursesdir=$(srcdir)/pdcurses
|
||||
paneldir=$(srcdir)/panel
|
||||
demosdir=$(srcdir)/demos
|
||||
|
||||
INSTALL =$(srcdir)/install-sh
|
||||
RANLIB =@RANLIB@
|
||||
@@ -39,10 +42,10 @@ install:
|
||||
$(INSTALL) -c -m 644 $(srcdir)/curses.h $(includedir)/xcurses.h
|
||||
sed -e 's/#include <curses.h>/#include <xcurses.h>/' < $(srcdir)/panel.h > ./xpanel.h
|
||||
$(INSTALL) -m 644 ./xpanel.h $(includedir)/xpanel.h
|
||||
$(INSTALL) -c -m 644 pdcurses/libXCurses.a $(libdir)/libXCurses.a
|
||||
$(INSTALL) -c -m 644 $(pdcursesdir)/libXCurses.a $(libdir)/libXCurses.a
|
||||
-$(RANLIB) $(libdir)/libXCurses.a
|
||||
$(INSTALL) -c -m 555 pdcurses/$(RXLIBPRE)$(SHLFILE)$(RXLIBPST) $(libdir)/$(RXLIBPRE)$(SHLFILE)$(RXLIBPST)
|
||||
$(INSTALL) -c -m 644 panel/libpanel.a $(libdir)/libpanel.a
|
||||
$(INSTALL) -c -m 555 $(pdcursesdir)/$(RXLIBPRE)$(SHLFILE)$(RXLIBPST) $(libdir)/$(RXLIBPRE)$(SHLFILE)$(RXLIBPST)
|
||||
$(INSTALL) -c -m 644 $(paneldir)/libpanel.a $(libdir)/libpanel.a
|
||||
-$(RANLIB) $(libdir)/libpanel.a
|
||||
|
||||
clean ::
|
||||
|
||||
Reference in New Issue
Block a user