Skip to content

Commit

Permalink
Rename single tile target to z_ao__single...
Browse files Browse the repository at this point in the history
... for easier arranging of scenery_packs.ini.

You want these in above the other z_ao... scenery packs. Calling them
z_ao__... instead of z_aosingle... allows alphabetical sorting.
  • Loading branch information
jonaseberle committed Sep 17, 2023
1 parent bf5cf02 commit 3753a79
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile.tiles
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,13 @@ Ortho4XP/Tiles/*/*/*/%.dsf: Ortho4XP var/run/neighboursOfTile_%.elevation
&& python3 Ortho4XP_v130.py $$COORDS BI $(ZL) 2>&1 | grep -v 'is deprecated' \
);

var/run/z_aosingle_%: Ortho4XP/Tiles/*/*/*/%.dsf
var/run/z_ao__single_%: Ortho4XP/Tiles/*/*/*/%.dsf
@echo "[$@]"
@cp -r Ortho4XP/Tiles/zOrtho4XP_$*/ var/run/z_aosingle_$*
@cp -r Ortho4XP/Tiles/zOrtho4XP_$*/ var/run/z_ao__single_$*

z_aosingle_%.zip: var/run/z_aosingle_%
z_ao__single_%.zip: var/run/z_ao__single_%
@echo "[$@]"
@cd var/run/ && zip -r ../../$@ z_aosingle_$*/
@cd var/run/ && zip -r ../../$@ z_ao__single_$*/

.SECONDARY: $(TILE_FILES)

Expand All @@ -177,7 +177,7 @@ clean:
-rm -rf var/run
-rm -f $(ZIPS)
-rm -rf z_$(TILENAME)*
-rm -rf z_aosingle_*
-rm -rf z_ao__single_*
-rm -f $(TILENAME)_tile_list.*

distclean: clean
Expand Down

0 comments on commit 3753a79

Please sign in to comment.