Commit 63ec90dc4d8b1232c93d12ec9ea9285184dabc7b
1 parent
318bef6f
Correct redir cleaning
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
Makefile
@@ -4,10 +4,10 @@ all: redirs | @@ -4,10 +4,10 @@ all: redirs | ||
4 | cd img; make | 4 | cd img; make |
5 | 5 | ||
6 | %.php: pages/%.php | 6 | %.php: pages/%.php |
7 | - echo "<?php require('index.php') // AUTOGEN ?>" > $@ | 7 | + echo "<?php require('index.php') ?>" > $@ |
8 | 8 | ||
9 | redirs: $(REDIRS) | 9 | redirs: $(REDIRS) |
10 | 10 | ||
11 | clean: | 11 | clean: |
12 | cd img; make clean | 12 | cd img; make clean |
13 | - for i in *.php; do if grep -q "// AUTOGEN" $$i; then rm -rf $$i; fi; done | 13 | + rm -rf $(REDIRS) |