go back to evilsedhack for php files, since PHP is evil. Should fix this
2005-05-23 James Henstridge <james@jamesh.id.au> * rules.common (%.php): go back to evilsedhack for php files, since PHP is evil. Should fix this when we can get the XSLT working for the PHP scripts we have.
This commit is contained in:
parent
1b1bf098af
commit
b699719911
2 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2005-05-23 James Henstridge <james@jamesh.id.au>
|
||||||
|
|
||||||
|
* rules.common (%.php): go back to evilsedhack for php files,
|
||||||
|
since PHP is evil. Should fix this when we can get the XSLT
|
||||||
|
working for the PHP scripts we have.
|
||||||
|
|
||||||
2005-05-20 James Henstridge <james@jamesh.id.au>
|
2005-05-20 James Henstridge <james@jamesh.id.au>
|
||||||
|
|
||||||
* autogen.sh: make this script pass on errors caused by
|
* autogen.sh: make this script pass on errors caused by
|
||||||
|
|
|
@ -12,9 +12,14 @@ CLEANFILES = $(BUILT_SOURCES)
|
||||||
|
|
||||||
# Interesting target stuff
|
# Interesting target stuff
|
||||||
|
|
||||||
%.html %.shtml %.php3 %.php %.phtml: %.wml $(top_srcdir)/include/add-header.xsl
|
%.html %.shtml: %.wml $(top_srcdir)/include/add-header.xsl
|
||||||
@xsltproc -html --stringparam root $(HTTP_PREFIX)/$(SITE) \
|
@xsltproc -html --stringparam root $(HTTP_PREFIX)/$(SITE) \
|
||||||
$(top_srcdir)/include/add-header.xsl $< > $@
|
$(top_srcdir)/include/add-header.xsl $< > $@
|
||||||
|
|
||||||
|
# XSLT mangles PHP because PHP is evil ...
|
||||||
|
%.php3 %.php %.phtml: %.wml $(top_srcdir)/include/evilsedhack
|
||||||
|
@$(top_srcdir)/include/evilsedhack $< $(HTTP_PREFIX)/$(SITE) > $@
|
||||||
|
|
||||||
|
|
||||||
.htaccess: htaccess
|
.htaccess: htaccess
|
||||||
@sed -e "s,@SITE@,$(HTTP_PREFIX)/$(SITE)," $< > $@
|
@sed -e "s,@SITE@,$(HTTP_PREFIX)/$(SITE)," $< > $@
|
||||||
|
|
Loading…
Reference in a new issue