2009-01-03 17:30:09 +01:00
|
|
|
diff -ru screen-4.0.2_vanilla/Makefile.in screen-4.0.2_install-fixup/Makefile.in
|
2008-05-01 21:33:44 +02:00
|
|
|
--- screen-4.0.2_vanilla/Makefile.in 2003-12-05 13:59:39.000000000 +0000
|
2009-01-03 17:30:09 +01:00
|
|
|
+++ screen-4.0.2_install-fixup/Makefile.in 2009-01-03 15:20:22.000000000 +0000
|
|
|
|
@@ -71,14 +71,9 @@
|
|
|
|
$(CC) -c -I. -I$(srcdir) $(M_CFLAGS) $(DEFS) $(OPTIONS) $(CFLAGS) $<
|
|
|
|
|
|
|
|
install_bin: .version screen
|
|
|
|
- -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)
|
2008-05-01 21:33:44 +02:00
|
|
|
- -chown root $(DESTDIR)$(bindir)/$(SCREEN) && chmod 4755 $(DESTDIR)$(bindir)/$(SCREEN)
|
2009-01-03 17:30:09 +01:00
|
|
|
-# 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 -sf $(SCREEN) screen)
|
|
|
|
+ $(INSTALL_PROGRAM) screen $(DESTDIR)$(bindir)/screen
|
|
|
|
+ -chmod 4755 $(DESTDIR)$(bindir)/screen
|
2008-05-01 21:33:44 +02:00
|
|
|
+ mkdir -p $(DESTDIR)$(SCREENENCODINGS)
|
|
|
|
cp $(srcdir)/utf8encodings/?? $(DESTDIR)$(SCREENENCODINGS)
|
|
|
|
|
|
|
|
###############################################################################
|