bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RFA: [base] Fix Tools after-install


From: David Ayers
Subject: RFA: [base] Fix Tools after-install
Date: Wed, 14 May 2003 11:29:59 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030507

Hello Richard,

My make install currently breaks in the Tools directory. This is a trivial patch, I can commit, unless you prefer a different approach.

       * Tools/Makefile.postamble: Added safe handling of empty
       MAN1_PAGES variable.
       * Tools/pl2link.m (main): Initialize variable to supress
       compiler warning.


Cheers,
Dave

? SSL/SSL.bundle
? SSL/config.log
? SSL/config.mak
? SSL/config.status
? SSL/ix86
? SSL/shared_obj
? Source/Additions/shared_obj
? Tools/make_strings/shared_obj
Index: Tools/Makefile.postamble
===================================================================
RCS file: /cvsroot/gnustep/gnustep/core/base/Tools/Makefile.postamble,v
retrieving revision 1.23
diff -u -r1.23 Makefile.postamble
--- Tools/Makefile.postamble    11 May 2003 07:42:16 -0000      1.23
+++ Tools/Makefile.postamble    14 May 2003 09:25:50 -0000
@@ -1,3 +1,4 @@
+#   -*-makefile-*-
 #
 #   Makefile.postamble
 #
@@ -37,8 +38,10 @@
        if [ ! -f $(GNUSTEP_DOCUMENTATION_MAN)/man1 ]; then \
          $(MKDIRS) $(GNUSTEP_DOCUMENTATION_MAN)/man1; \
        fi; \
-       for file in $(MAN1_PAGES); do \
-         $(INSTALL_DATA) $$file $(GNUSTEP_DOCUMENTATION_MAN)/man1/$$file; \
+       for file in $(MAN1_PAGES) __done; do \
+         if [ $$file != __done ]; then \
+           $(INSTALL_DATA) $$file $(GNUSTEP_DOCUMENTATION_MAN)/man1/$$file; \
+         fi; \
        done; \
        if [ ! -f $(GNUSTEP_DOCUMENTATION_MAN)/man8 ]; then \
          $(MKDIRS) $(GNUSTEP_DOCUMENTATION_MAN)/man8; \
Index: Tools/pl2link.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/core/base/Tools/pl2link.m,v
retrieving revision 1.5
diff -u -r1.5 pl2link.m
--- Tools/pl2link.m     12 May 2003 20:42:47 -0000      1.5
+++ Tools/pl2link.m     14 May 2003 09:25:50 -0000
@@ -39,7 +39,7 @@
   NSString             *sourceName;
   NSString             *destName;
   NSMutableString      *fileContents;
-  NSDictionary         *plist;
+  NSDictionary         *plist = nil;
   NSArray              *list;
   NSString             *entry;
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]