]> git.pld-linux.org Git - packages/screen.git/blame - screen-DESTDIR.patch
- removed all Group fields translations (oure rpm now can handle translating
[packages/screen.git] / screen-DESTDIR.patch
CommitLineData
8ffc42de 1--- screen-3.9.9/Makefile.in.orig Fri May 25 16:50:54 2001
2+++ screen-3.9.9/Makefile.in Mon Jun 11 00:09:06 2001
3@@ -18,7 +18,7 @@
4 bindir = $(exec_prefix)/bin
5
6 VERSION = @VERSION@
7-SCREEN = screen-$(VERSION)
8+SCREEN = screen
9
10 ETCSCREENRC = `sed < config.h -n -e '/define ETCSCREENRC/s/^.*"\([^"]*\)"/\1/p'`
11
12@@ -70,26 +70,11 @@
c58f5c7e 13 $(CC) -c -I. -I$(srcdir) $(M_CFLAGS) $(DEFS) $(OPTIONS) $(CFLAGS) $<
14
15 install_bin: .version screen
8ffc42de 16- -if [ -f $(DESTDIR)$(bindir)/$(SCREEN) ] && [ ! -f $(DESTDIR)$(bindir)/$(SCREEN).old ]; \
17- then mv $(DESTDIR)$(bindir)/$(SCREEN) $(DESTDIR)$(bindir)/$(SCREEN).old; fi
18- $(INSTALL_PROGRAM) screen $(DESTDIR)$(bindir)/$(SCREEN)
19+ $(INSTALL_PROGRAM) $(SCREEN) $(DESTDIR)$(bindir)
20 -chown root $(DESTDIR)$(bindir)/$(SCREEN) && chmod 4755 $(DESTDIR)$(bindir)/$(SCREEN)
c58f5c7e 21-# This doesn't work if $(bindir)/screen is a symlink
8ffc42de 22- -if [ -f $(DESTDIR)$(bindir)/screen ] && [ ! -f $(DESTDIR)$(bindir)/screen.old ]; then mv $(DESTDIR)$(bindir)/screen $(DESTDIR)$(bindir)/screen.old; fi
23- rm -f $(DESTDIR)$(bindir)/screen
24- cd $(DESTDIR)$(bindir) && ln -sf $(SCREEN) screen
c58f5c7e 25
26 ###############################################################################
27 install: installdirs install_bin
8ffc42de 28- cd doc ; $(MAKE) install
29- -if [ -d /usr/lib/terminfo ]; then \
30- PATH="$$PATH:/usr/5bin" tic ${srcdir}/terminfo/screeninfo.src; \
31- chmod 644 /usr/lib/terminfo/s/screen*; \
32- fi
33-# Better do this by hand. E.g. under RCS...
34-# cat ${srcdir}/terminfo/screencap >> /etc/termcap
35- @echo "termcap entry (${srcdir}/terminfo/screencap) should be installed manually."
36- @echo "You may also want to install $(srcdir)/etc/etcscreenrc in" $(ETCSCREENRC)
c58f5c7e 37
38 installdirs:
39 # Path leading to ETCSCREENRC and Socketdirectory not checked.
This page took 0.122302 seconds and 4 git commands to generate.