48 lines
2.5 KiB
Text
48 lines
2.5 KiB
Text
--- Makefile.in.orig 2017-07-10 12:26:25.000000000 -0700
|
|
+++ Makefile.in 2017-08-25 20:19:07.289437000 -0700
|
|
@@ -83,19 +83,13 @@
|
|
$(OPTIONS) $(CFLAGS) $<
|
|
|
|
install_bin: .version screen installdirs
|
|
- -if [ -f $(DESTDIR)$(bindir)/$(SCREEN) ] && [ ! -f $(DESTDIR)$(bindir)/$(SCREEN).old ]; \
|
|
- then mv $(DESTDIR)$(bindir)/$(SCREEN) $(DESTDIR)$(bindir)/$(SCREEN).old; fi
|
|
- $(INSTALL_PROGRAM) screen $(DESTDIR)$(bindir)/$(SCREEN)
|
|
- -chown root $(DESTDIR)$(bindir)/$(SCREEN) && chmod 4755 $(DESTDIR)$(bindir)/$(SCREEN)
|
|
-# This doesn't work if $(bindir)/screen is a symlink
|
|
- -if [ -f $(DESTDIR)$(bindir)/screen ] && [ ! -f $(DESTDIR)$(bindir)/screen.old ]; then mv $(DESTDIR)$(bindir)/screen $(DESTDIR)$(bindir)/screen.old; fi
|
|
- rm -f $(DESTDIR)$(bindir)/screen
|
|
- (cd $(DESTDIR)$(bindir) && ln -f -s $(SCREEN) screen)
|
|
cp $(srcdir)/utf8encodings/?? $(DESTDIR)$(SCREENENCODINGS)
|
|
+ $(INSTALL_PROGRAM) screen $(DESTDIR)$(bindir)/screen
|
|
+ -chown root:wheel $(DESTDIR)$(bindir)/screen && chmod 4755 $(DESTDIR)$(bindir)/screen
|
|
|
|
###############################################################################
|
|
install: installdirs install_bin
|
|
- cd doc ; $(MAKE) install
|
|
+ cd doc ; $(MAKE) $(MAKE_ARGS) install
|
|
-if [ -d $(DESTDIR)/usr/lib/terminfo ]; then \
|
|
PATH="$$PATH:/usr/5bin" tic ${srcdir}/terminfo/screeninfo.src; \
|
|
chmod 644 $(DESTDIR)/usr/lib/terminfo/s/screen*; \
|
|
@@ -108,7 +102,7 @@
|
|
installdirs:
|
|
# Path leading to ETCSCREENRC and Socketdirectory not checked.
|
|
$(srcdir)/etc/mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(SCREENENCODINGS)
|
|
- cd doc ; $(MAKE) installdirs
|
|
+ cd doc ; $(MAKE) $(MAKE_ARGS) installdirs
|
|
|
|
uninstall: .version
|
|
rm -f $(DESTDIR)$(bindir)/$(SCREEN)
|
|
@@ -350,7 +344,10 @@
|
|
viewport.o: layout.h viewport.h canvas.h viewport.c config.h screen.h os.h osdef.h ansi.h acls.h \
|
|
comm.h layer.h term.h image.h display.h window.h extern.h \
|
|
braille.h
|
|
-list_generic.o: list_generic.h list_generic.c layer.h screen.h osdef.h
|
|
-list_display.o: list_generic.h list_display.c layer.h screen.h osdef.h
|
|
-list_window.o: list_generic.h list_window.c window.h layer.h screen.h osdef.h comm.h
|
|
+list_generic.o: list_generic.h list_generic.c layer.h screen.h os.h osdef.h ansi.h acls.h \
|
|
+ comm.h layer.h term.h image.h display.h window.h
|
|
+list_display.o: list_generic.h list_display.c layer.h screen.h os.h osdef.h ansi.h acls.h \
|
|
+ comm.h layer.h term.h image.h display.h window.h
|
|
+list_window.o: list_generic.h list_window.c window.h layer.h screen.h os.h osdef.h ansi.h acls.h \
|
|
+ comm.h layer.h term.h image.h display.h window.h
|
|
|