Project

General

Profile

« Previous | Next » 

Revision 779

mappings/Makefile: Only clean up a core map (intermediate format->VegBIEN) when it's modified. Note that the .last_cleanup files need to be under version control to prevent cleanups upon running any map command in a new checkout.

View differences:

mappings/Makefile
22 22

  
23 23
bin := ../bin
24 24

  
25
$(coreMaps): _always
25
$(coreMaps): %: .%.last_cleanup
26 26
	$(bin)/in_place $@ $(bin)/simplify_xpath
27 27
	$(bin)/in_place $@ $(bin)/sort 1 0
28
	touch -r $@ $<
29
.PRECIOUS: .%.last_cleanup
30
# Ignore last_cleanup file if it doesn't exist
31
.%.last_cleanup:
28 32

  
29 33
#####
30 34

  

Also available in: Unified diff