r628 - trunk/ed

jim at linuxfromscratch.org jim at linuxfromscratch.org
Tue Sep 7 21:37:45 PDT 2004


Author: jim
Date: 2004-09-07 22:37:44 -0600 (Tue, 07 Sep 2004)
New Revision: 628

Added:
   trunk/ed/ed-0.2-direntry-2.patch
Removed:
   trunk/ed/ed-0.2-direntry-1.patch
Log:
Updated: ed-0.2-direntry patch

Deleted: trunk/ed/ed-0.2-direntry-1.patch
===================================================================
--- trunk/ed/ed-0.2-direntry-1.patch	2004-09-07 14:07:44 UTC (rev 627)
+++ trunk/ed/ed-0.2-direntry-1.patch	2004-09-08 04:37:44 UTC (rev 628)
@@ -1,23 +0,0 @@
-Submitted By: Henrik S. Hansen <hsh at freecode.dk>
-Date: 2004-09-02
-Initial Package Version: 0.2
-Upstream Status: Not submitted - simple hack
-Origin: Henrik S. Hansen
-Description: Adds ed to info directory.  After installing ed (make
-	     install), do: (cd /usr/share/info; install-info ed.info
-	     dir), since the ed makefile doesn't do install-info
-	     (a bug?).
---- ed-0.2.orig/ed.texinfo	1994-11-19 13:38:01.000000000 +0100
-+++ ed-0.2/ed.texinfo	2004-09-02 20:13:52.000000000 +0200
-@@ -6,6 +6,11 @@
- @setchapternewpage odd
- @c %**end of header
- 
-+ at dircategory Utilities
-+ at direntry
-+* Ed: (ed).                     A line-oriented text editor.
-+ at end direntry
-+
- @ifinfo
- This file documents the @code{ed} command, which has the purpose of
- editing text files.

Added: trunk/ed/ed-0.2-direntry-2.patch
===================================================================
--- trunk/ed/ed-0.2-direntry-2.patch	2004-09-07 14:07:44 UTC (rev 627)
+++ trunk/ed/ed-0.2-direntry-2.patch	2004-09-08 04:37:44 UTC (rev 628)
@@ -0,0 +1,36 @@
+Submitted By: Henrik S. Hansen <hsh at freecode.dk>
+Date: 2004-09-04
+Initial Package Version: 0.2
+Upstream Status: Not submitted - simple hack
+Origin: Henrik S. Hansen
+Description: Adds ed to info directory.
+
+diff -Naur ed-0.2.orig/Makefile.in ed-0.2/Makefile.in
+--- ed-0.2.orig/Makefile.in	1994-11-19 13:45:32.000000000 +0100
++++ ed-0.2/Makefile.in	2004-09-04 00:48:47.000000000 +0200
+@@ -104,6 +104,10 @@
+ 	cd $(bindir); \
+ 	  $(LN_S) $(binprefix)ed $(binprefix)red
+ 	$(INSTALL_DATA) $(srcdir)/ed.info $(infodir)/$(binprefix)ed.info
++# run install-info if it is present to update the info directory
++	if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
++		install-info --dir-file=$(infodir)/dir $(infodir)/$(binprefix)ed.info; \
++	else true; fi
+ 	$(INSTALL_DATA) $(srcdir)/ed.1 $(mandir)/$(binprefix)ed$(manext)
+ 	rm -f $(mandir)/$(binprefix)red$(manext)
+ 	cd $(mandir); \
+diff -Naur ed-0.2.orig/ed.texinfo ed-0.2/ed.texinfo
+--- ed-0.2.orig/ed.texinfo	1994-11-19 13:38:01.000000000 +0100
++++ ed-0.2/ed.texinfo	2004-09-04 00:49:44.000000000 +0200
+@@ -6,6 +6,11 @@
+ @setchapternewpage odd
+ @c %**end of header
+ 
++ at dircategory Utilities
++ at direntry
++* Ed: (ed).                     A line-oriented text editor.
++ at end direntry
++
+ @ifinfo
+ This file documents the @code{ed} command, which has the purpose of
+ editing text files.




More information about the patches mailing list