|
From: <sv...@va...> - 2012-03-23 16:13:20
|
jf 2012-03-23 16:13:09 +0000 (Fri, 23 Mar 2012)
New Revision: 454
Log:
Add make file mentioned in last commit. Sorry folks
Added files:
trunk/Makefile
Added: trunk/Makefile (+14 -0)
===================================================================
--- trunk/Makefile 2012-03-23 16:11:59 +00:00 (rev 453)
+++ trunk/Makefile 2012-03-23 16:13:09 +00:00 (rev 454)
@@ -0,0 +1,14 @@
+# on the real site, this variable is overridden in the environment:
+SITE=/home/de/WebSites/valgrind-www/trunk
+# (I have to say that that looks a bit odd as a default value)
+
+# the .htaccess is created in place, so don't want to delete
+# it, so exclude it .htaccess.in doesn't need to be there,
+# so exclude that too
+
+install: $(SITE)/.htaccess
+ rsync --delete-after --perms --chmod=D+x,u+rw,go-w,+r --exclude /.htaccess.in --exclude /.htaccess --recursive --links --times --group ./ $(SITE)
+
+# the site-dependent .htaccess file:
+$(SITE)/.htaccess: .htaccess.in Makefile
+ echo "# DO NOT MODIFY THIS FILE: change .htaccess.in instead" > $@ && cat .htaccess.in >> $@ && echo "php_value include_path \""$(SITE)/php"\"" >> $@
\ No newline at end of file
|