[Spread-users] [PATCH] Assure the include directory exists

Daniel Rall dlr at finemaltcoding.com
Mon Oct 6 17:12:34 EDT 2003


The change log for CVS revision 1.5 claims:

"Add the include directory to list of install locations and install include files."

However, it does not assure that the include directory exists first.  For quite 
some time now, we've been using the following patch to assure just that:

Index: daemon/Makefile.in
===================================================================
RCS file: /storage/cvsroot/spread/daemon/Makefile.in,v
retrieving revision 1.7
diff -u -r1.7 Makefile.in
--- daemon/Makefile.in  17 Jun 2003 19:00:10 -0000      1.7
+++ daemon/Makefile.in  6 Oct 2003 21:05:29 -0000
@@ -220,6 +220,7 @@
  install-files:
         $(buildtoolsdir)/mkinstalldirs $(DESTDIR)$(bindir)
         $(buildtoolsdir)/mkinstalldirs $(DESTDIR)$(sbindir)
+       $(buildtoolsdir)/mkinstalldirs $(DESTDIR)$(includedir)
         $(buildtoolsdir)/mkinstalldirs $(DESTDIR)$(mandir)
         $(buildtoolsdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)1
         $(buildtoolsdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)3





More information about the Spread-users mailing list