diff options
author | Matei Zaharia <matei@eecs.berkeley.edu> | 2010-10-16 22:01:05 -0700 |
---|---|---|
committer | Matei Zaharia <matei@eecs.berkeley.edu> | 2010-10-16 22:01:05 -0700 |
commit | b940164db38ced59dcd26b91e41f20e5c1f56cc2 (patch) | |
tree | b7fed2e948d7619dfc987f9d55174a948d05217a | |
parent | e5fb280ec82072fdd3373136a41f96c9536a1592 (diff) | |
download | spark-b940164db38ced59dcd26b91e41f20e5c1f56cc2.tar.gz spark-b940164db38ced59dcd26b91e41f20e5c1f56cc2.tar.bz2 spark-b940164db38ced59dcd26b91e41f20e5c1f56cc2.zip |
Less hacky way of preventing config files from being overwritten when a template file changes
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -64,8 +64,8 @@ build/spark-dep.jar: conf-files: $(CONF_FILES) -$(CONF_FILES): %: %.template - if [ ! -e $@ ] ; then cp $^ $@; else touch $^; fi +$(CONF_FILES): %: | %.template + cp $@.template $@ test: all ./alltests |