@ -1,47 +0,0 @@ |
|||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
||||
# |
|
||||
# Filename: package/.../ed/destdir.patch |
|
||||
# Copyright (C) 2006 The OpenSDE Project |
|
||||
# |
|
||||
# More information can be found in the files COPYING and README. |
|
||||
# |
|
||||
# This patch file is dual-licensed. It is available under the license the |
|
||||
# patched project is licensed under, as long as it is an OpenSource license |
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|
||||
# of the GNU General Public License as published by the Free Software |
|
||||
# Foundation; either version 2 of the License, or (at your option) any later |
|
||||
# version. |
|
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
|
||||
|
|
||||
--- ./Makefile.in.orig 2006-08-03 21:12:43.000000000 +0000
|
|
||||
+++ ./Makefile.in 2006-08-03 21:30:05.000000000 +0000
|
|
||||
@@ -99,20 +99,18 @@
|
|
||||
$(TEXI2DVI) $(srcdir)/ed.texinfo |
|
||||
|
|
||||
install: ed ed.info installdirs |
|
||||
- $(INSTALL_PROGRAM) ed $(bindir)/$(binprefix)ed
|
|
||||
- rm -f $(bindir)/$(binprefix)red
|
|
||||
- cd $(bindir); \
|
|
||||
- $(LN_S) $(binprefix)ed $(binprefix)red
|
|
||||
- $(INSTALL_DATA) $(srcdir)/ed.info $(infodir)/$(binprefix)ed.info
|
|
||||
- $(INSTALL_DATA) $(srcdir)/ed.1 $(mandir)/$(binprefix)ed$(manext)
|
|
||||
- rm -f $(mandir)/$(binprefix)red$(manext)
|
|
||||
- cd $(mandir); \
|
|
||||
- $(LN_S) $(binprefix)ed$(manext) $(binprefix)red$(manext)
|
|
||||
+ $(INSTALL_PROGRAM) ed $(DESTDIR)$(bindir)/$(binprefix)ed
|
|
||||
+ rm -f $(DESTDIR)$(bindir)/$(binprefix)red
|
|
||||
+ $(LN_S) $(binprefix)ed $(DESTDIR)$(bindir)/$(binprefix)red
|
|
||||
+ $(INSTALL_DATA) $(srcdir)/ed.info $(DESTDIR)$(infodir)/$(binprefix)ed.info
|
|
||||
+ $(INSTALL_DATA) $(srcdir)/ed.1 $(DESTDIR)$(mandir)/$(binprefix)ed$(manext)
|
|
||||
+ rm -f $(DESTDIR)$(mandir)/$(binprefix)red$(manext)
|
|
||||
+ $(LN_S) $(binprefix)ed$(manext) $(DESTDIR)$(mandir)/$(binprefix)red$(manext)
|
|
||||
|
|
||||
# Make sure all installation directories, e.g. $(bindir) actually exist by |
|
||||
# making them if necessary. |
|
||||
installdirs: |
|
||||
- $(srcdir)/mkinstalldirs $(bindir) $(infodir) $(mandir)
|
|
||||
+ $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) $(DESTDIR)$(mandir)
|
|
||||
|
|
||||
uninstall: all |
|
||||
rm -f $(bindir)/$(binprefix)ed $(bindir)/$(binprefix)red |
|
@ -1,24 +0,0 @@ |
|||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
||||
# |
|
||||
# Filename: package/.../ed/ed.conf |
|
||||
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
||||
# Copyright (C) 1998 - 2003 Clifford Wolf |
|
||||
# |
|
||||
# More information can be found in the files COPYING and README. |
|
||||
# |
|
||||
# This program is free software; you can redistribute it and/or modify |
|
||||
# it under the terms of the GNU General Public License as published by |
|
||||
# the Free Software Foundation; version 2 of the License. A copy of the |
|
||||
# GNU General Public License can be found in the file COPYING. |
|
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
|
||||
|
|
||||
|
|
||||
fix_usrbin_bin() { |
|
||||
[ -f $root/usr/bin/ed ] && |
|
||||
mv -vf $root/usr/bin/ed $root/bin/ed |
|
||||
[ -L $root/usr/bin/red ] && |
|
||||
ln -svf /bin/ed $root/usr/bin/red |
|
||||
} |
|
||||
|
|
||||
hook_add postmake 5 "fix_usrbin_bin" |
|