sort movies
Stefan Schuermans

Stefan Schuermans commited on 2019-06-21 22:24:26
Showing 1 changed files, with 2 additions and 2 deletions.

... ...
@@ -39,12 +39,12 @@ movies/%.inc: movies/%.bbm
39 39
 	./bbm2Chaosknoten.py -i $< -f $@
40 40
 
41 41
 movie_funcs.inc: $(MOVIE_FUNC_TMPL) $(MOVIES_INC) Makefile
42
-	for N in $(notdir $(MOVIES_INC:.inc=)); do \
42
+	for N in $(sort $(notdir $(MOVIES_INC:.inc=))); do \
43 43
 	  sed "s/NAME/$$N/g" $(MOVIE_FUNC_TMPL); \
44 44
 	done >$@
45 45
 
46 46
 movie_tab.inc: $(MOVIES_INC) Makefile
47
-	for N in $(notdir $(MOVIES_INC:.inc=)); do \
47
+	for N in $(sort $(notdir $(MOVIES_INC:.inc=))); do \
48 48
 	  echo "        .dw     ANIM_MOVIE_$$N"; \
49 49
 	  echo "        .dw     $${N##*x}"; \
50 50
 	done >$@
51 51