This is the mail archive of the guile-emacs@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Misspelling?


It seems typo for me. I attach the patch against Makefile.am.

And I needed these patches to build an RPM. If they don't trouble
you, I will be glad for you to include them into the source tree.

Thanks.


--- guile-emacs-0.5.orig/Makefile.am	Fri May 26 14:28:27 2000
+++ guile-emacs-0.5/Makefile.am	Wed Sep 13 16:09:09 2000
@@ -22,17 +22,18 @@
 x_default_search_path=@x_default_search_path@
 
 install-exec-local: all
-	$(INSTALL_PROGRAM) src/emacs $(DISTDIR)$(bindir)/guile-emacs
+	$(mkinstalldirs) $(DESTDIR)$(bindir)
+	$(INSTALL_PROGRAM) src/emacs $(DESTDIR)$(bindir)/guile-emacs
 
 install-data-local:
-	$(mkinstalldirs) $(DISTDIR)$(pkgdatadir)
-	$(mkinstalldirs) $(DISTDIR)$(localschemepath)
+	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
+	$(mkinstalldirs) $(DESTDIR)$(localschemepath)
 	(cd $(srcdir) && tar cf - --exclude CVS scheme) \
-	| (cd $(DISTDIR)$(pkgdatadir) && tar xf -)
+	| (cd $(DESTDIR)$(pkgdatadir) && tar xf -)
 	(cd $(srcdir)/etc && tar cf - DOC-*) \
-	| (cd $(DISTDIR)$(pkgdatadir) && tar xf -)
+	| (cd $(DESTDIR)$(pkgdatadir) && tar xf -)
 	(cd $(srcdir)/lib-src && tar cf - fns-*) \
-	| (cd $(DISTDIR)$(archlibdir) && tar xf -)
+	| (cd $(DESTDIR)$(archlibdir) && tar xf -)
 
 clean-local:
 	cd lwlib && $(MAKE) clean
diff -uarN guile-emacs-0.5.orig/lib-src/Makefile.in guile-emacs-0.5/lib-src/Makefile.in
--- guile-emacs-0.5.orig/lib-src/Makefile.in	Sun May 21 13:58:30 2000
+++ guile-emacs-0.5/lib-src/Makefile.in	Wed Sep 13 16:01:55 2000
@@ -266,26 +266,26 @@
 
 /* Install the internal utilities.  Until they are installed, we can
    just run them directly from lib-src.  */
-${archlibdir}: all
+$(DESTDIR)${archlibdir}: all
 	@echo
 	@echo "Installing utilities run internally by Emacs."
-	$(top_srcdir)/mkinstalldirs ${archlibdir}
-	if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \
+	$(top_srcdir)/mkinstalldirs $(DESTDIR)${archlibdir}
+	if [ `(cd $(DESTDIR)${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \
 	  for file in ${UTILITIES}; do \
-	    $(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file ${archlibdir}/$$file ; \
+	    $(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file $(DESTDIR)${archlibdir}/$$file ; \
 	  done ; \
         fi
-        if [ `(cd ${archlibdir} && /bin/pwd)` \
+        if [ `(cd $(DESTDIR)${archlibdir} && /bin/pwd)` \
              != `(cd ${srcdir} && /bin/pwd)` ]; then \
 	  for file in ${SCRIPTS}; do \
-	    $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file; \
+	    $(INSTALL_PROGRAM) ${srcdir}/$$file $(DESTDIR)${archlibdir}/$$file; \
 	  done ; \
 	fi
 
-install: ${archlibdir}
+install: $(DESTDIR)${archlibdir}
 
 uninstall:
-	(cd ${archlibdir}; \
+	(cd $(DESTDIR)${archlibdir}; \
 	 rm -f ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS})
 
 mostlyclean:


-- 
SAKA Toshihide


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]