aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2012-01-30 11:10:05 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2012-01-30 11:10:05 -0500
commitf507c877a4194a52315feec6698d36af5b0bfb06 (patch)
treed0264a72327880f3c1be2d6e6dbdad13d987861a
parent9810b81fe0186c1cd90222751c0f6da7121d7baf (diff)
downloadGradeBook-f507c877a4194a52315feec6698d36af5b0bfb06.tar.gz
GradeBook-f507c877a4194a52315feec6698d36af5b0bfb06.zip
config updated from template if code changed to keep truck of git versions
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 456938c..4238a2d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
# -*- make -*-
# FILE: "/home/evmik/src/my_src/GradeBook/Makefile"
-# LAST MODIFICATION: "Wed, 25 Jan 2012 23:04:58 -0500 (evmik)"
+# LAST MODIFICATION: "Mon, 30 Jan 2012 11:09:22 -0500 (evmik)"
# (C) 2011 by Eugeniy Mikhailov, <evgmik@gmail.com>
# $Id:$
#
@@ -14,7 +14,8 @@ upload_location_code = physics.wm.edu:public_html/cgi-bin/
upload_location_styles = physics.wm.edu:public_html/
upload_location_icons = physics.wm.edu:public_html/icons/
-files4upload_code = ./GradeBook.tcl ./GradeBook_lib.tcl ./libBasicTableOperations.tcl ./gb_config.tcl
+cgi_code_files = ./GradeBook.tcl ./GradeBook_lib.tcl ./libBasicTableOperations.tcl
+files4upload_code = $(cgi_code_files) ./gb_config.tcl
files4upload_styles = ./GradeBook.css
files4upload_icons = $(wildcard ./icons/*.png)
@@ -40,6 +41,6 @@ GradeBook.css: GradeBook.scss
config: gb_config.tcl
-gb_config.tcl: gb_config.template
+gb_config.tcl: gb_config.template $(cgi_code_files)
sed s/__VERSION__/{$(GIT_VERSION)}/ < $< > $@