]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove *.res files in mostlyclean, to avoid problems with out-of-tree builds.
authorEli Zaretskii <eliz@gnu.org>
Wed, 29 May 2013 16:48:42 +0000 (19:48 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 29 May 2013 16:48:42 +0000 (19:48 +0300)
 src/Makefile.in (mostlyclean): Remove *.res files.

 lib-src/Makefile.in (mostlyclean): Remove *.res files.

 nt/Makefile.in (emacs.res): Include srcdir when preprocessing
 resources, for out-of-tree builds.
 (mostlyclean): Remove *.res files.

lib-src/ChangeLog
lib-src/Makefile.in
nt/ChangeLog
nt/Makefile.in
src/ChangeLog
src/Makefile.in

index e565983e1473cb042ee499547f00199abf6c3a16..e1025fc5f6b081f9e458df58148752c778e98120 100644 (file)
@@ -1,3 +1,7 @@
+2013-05-29  Eli Zaretskii  <eliz@gnu.org>
+
+       * Makefile.in (mostlyclean): Remove *.res files.
+
 2013-05-18  Paul Eggert  <eggert@cs.ucla.edu>
 
        Port --enable-gcc-warnings to clang.
index e0acea867b70652cfacdff1876b5900d82d752ef..f32333fe765fda366a66f0e664f6b2118451d52e 100644 (file)
@@ -278,7 +278,7 @@ uninstall:
        fi
 
 mostlyclean:
-       -rm -f core *.o
+       -rm -f core *.o *.res
 
 clean: mostlyclean
        -rm -f ${EXE_FILES}
index 696d320c8bce42dc51189a85595a133af9857b45..781dfbb7c3fe9803d6ce75521bfd5213a50e19a0 100644 (file)
@@ -1,3 +1,9 @@
+2013-05-29  Eli Zaretskii  <eliz@gnu.org>
+
+       * Makefile.in (emacs.res): Include srcdir when preprocessing
+       resources, for out-of-tree builds.
+       (mostlyclean): Remove *.res files.
+
 2013-05-17  Eli Zaretskii  <eliz@gnu.org>
 
        * runemacs.c (WinMain): Support invocation of un-installed
index 3d5e1ca084cac92e4a382a0ec7fd98a1a9cc4d36..7f68a1b83ad283599aac6f09dda73e33dac3d703 100644 (file)
@@ -168,7 +168,7 @@ uninstall:
        fi
 
 mostlyclean:
-       -rm -f core *.o
+       -rm -f core *.o *.res
 
 clean: mostlyclean
        -rm -f ${EXE_FILES}
@@ -209,4 +209,4 @@ runemacs${EXEEXT}: ${srcdir}/runemacs.c $(EMACSRES)
          -o runemacs${EXEEXT}
 
 emacs.res: ${srcdir}/emacs.rc ${srcdir}/icons/emacs.ico ${srcdir}/$(EMACS_MANIFEST)
-       ${WINDRES} -O coff -o emacs.res ${srcdir}/emacs.rc
+       ${WINDRES} -I ${srcdir} -O coff -o emacs.res ${srcdir}/emacs.rc
index 4b1281c17e629e1813c2a6f1694baf65cb439c0e..56e13da832aa0a726ebb059c702146a8d19eaa62 100644 (file)
@@ -1,3 +1,7 @@
+2013-05-29  Eli Zaretskii  <eliz@gnu.org>
+
+       * Makefile.in (mostlyclean): Remove *.res files.
+
 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * fileio.c (Finsert_file_contents): Preserve undo info when reverting
index c7a18363a5a24c5ead61b86084f102ba56320c4c..2fa7fb373489a822ae6f9e0de3fa7977f36e56b6 100644 (file)
@@ -547,6 +547,7 @@ mostlyclean:
        rm -f bootstrap-emacs$(EXEEXT) emacs-$(version)$(EXEEXT)
        rm -f buildobj.h
        rm -f globals.h gl-stamp
+       rm -f *.res
 clean: mostlyclean
        rm -f emacs-*.*.*$(EXEEXT) emacs$(EXEEXT)
        -rm -rf $(DEPDIR)