You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
2.0 KiB

# --- 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