Blame view

Makefile 237 Bytes
635819a5   Geoffrey PREUD'HOMME   Fake mod rewrite
1
  all: redirs
d6895efe   Geoffrey PREUD'HOMME   Fix base Makefile
2
  	cd img; make
635819a5   Geoffrey PREUD'HOMME   Fake mod rewrite
3
4
5
6
  
  redirs:
  	for i in $$(cd pages; echo *.php); do echo "<?php require('index.php') // AUTOGEN ?>" > $$i; done
  
0f325835   Geoffrey PREUD'HOMME   Make clean base
7
8
  clean:
  	cd img; make clean
635819a5   Geoffrey PREUD'HOMME   Fake mod rewrite
9
  	for i in *.php; do if grep -q "// AUTOGEN" $$i; then rm -rf $$i; fi; done