]> git.street.me.uk Git - andy/viking.git/commitdiff
Fixed order headers inclusion in icons.c
authorJojoBoulix <pagth@passoire.fr>
Sun, 10 Apr 2016 12:47:43 +0000 (14:47 +0200)
committerJojoBoulix <pagth@passoire.fr>
Sun, 10 Apr 2016 12:47:43 +0000 (14:47 +0200)
Fix the order for headers inclusion in icons.c, to get reproducible build. The *_pixmap.h wildcard matches the same files, but with a random order, so that different builds can lead to different binary files.
See https://wiki.debian.org/ReproducibleBuilds/

src/icons/Makefile.am

index 4296773ad5316bc2e134670bc573746b602b3d4d..112ebb19f017a656c22f9f8abe1fca97d9efeb93 100644 (file)
@@ -267,7 +267,7 @@ icons.h: $(ALL_ICONS_HEADER)
 icons.c: $(ALL_ICONS_HEADER)
        echo "/* Generated file */" > $@
        echo "#include <gdk-pixbuf/gdk-pixdata.h>" >> $@
-       for file in *_pixmap.h ; do echo "#include \"$$file\"" >> $@ ; done
+       for file in $(ALL_ICONS_HEADER) ; do echo "#include \"$$file\"" >> $@ ; done
 
 $(BUILT_SOURCES): $(srcdir)/Makefile.am