[librsvg/librsvg-2.44] Makefile.am: Fix the location of the enum timestamp files



commit 00fc0366100f24501a4c93c410fddad65af07781
Author: Federico Mena Quintero <federico gnome org>
Date:   Fri Sep 21 08:48:48 2018 -0500

    Makefile.am: Fix the location of the enum timestamp files
    
    The actual s-enum-types-* timestamp files were being written to the
    toplevel directory, but they were being looked for in the librsvg/
    subdirectory.  This caused the enum files to be regenerated on every
    "make", regardless of whether the public header files had changed.

 Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index b594d221..f9218897 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -288,7 +288,7 @@ EXTRA_DIST =                                \
 
 CLEANFILES = \
        $(enum_sources) \
-       s-enum-types-h s-enum-types-c
+       librsvg/s-enum-types-h librsvg/s-enum-types-c
 
 ## Put `exec' in the name because this should be installed by
 ## `install-exec', not `install-data'.
@@ -308,7 +308,7 @@ librsvg/s-enum-types-h: $(headers) Makefile
                $(headers) ) > librsvg/tmp-librsvg-enum-types.h \
        && (cmp -s librsvg/tmp-librsvg-enum-types.h librsvg/librsvg-enum-types.h || cp 
librsvg/tmp-librsvg-enum-types.h librsvg/librsvg-enum-types.h ) \
        && rm -f librsvg/tmp-librsvg-enum-types.h       \
-       && echo timestamp > $(@F)
+       && echo timestamp > $@
 
 librsvg/librsvg-enum-types.c: librsvg/s-enum-types-c librsvg/librsvg-enum-types.h
        @true
@@ -323,7 +323,7 @@ librsvg/s-enum-types-c: $(headers) Makefile
                $(headers) ) > librsvg/tmp-librsvg-enum-types.c \
        && (cmp -s librsvg/tmp-librsvg-enum-types.c librsvg/librsvg-enum-types.c || cp 
librsvg/tmp-librsvg-enum-types.c librsvg/librsvg-enum-types.c ) \
        && rm -f librsvg/tmp-librsvg-enum-types.c \
-       && echo timestamp > $(@F)
+       && echo timestamp > $@
 
 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
 


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