#!/bin/bash

FILE=Makefile-icons.am

echo "NULL=" > $FILE
echo "EXTRA_DIST = \\" >> $FILE
find . \( -name "*.png" -or -name "*.svg" \) -print | awk '{ print $$0, " \\" }' >> $FILE
echo "\$(NULL)" >> $FILE

#!/bin/bash

FILE=Makefile-icons.am

echo "NULL=" > $FILE
echo "EXTRA_DIST = \\" >> $FILE
find . \( -name "*.png" -or -name "*.svg" \) -print | awk '{ print $$0, " \\" }' | sort >> $FILE
echo "\$(NULL)" >> $FILE

Sort file names before appending to Makefile-icons.am
Sort file names before appending to Makefile-icons.am

So to reduce the noise whenever we update the icons from g-i-t-s.
