Blame view

Makefile 252 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
  
  redirs:
00ca549f   Geoffrey PREUD'HOMME   Ensure 755 mode o...
5
  	for i in $$(cd pages; echo *.php); do echo "<?php require('index.php') // AUTOGEN ?>" > $$i; chmod 755 $$i; done
635819a5   Geoffrey PREUD'HOMME   Fake mod rewrite
6
  
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