projects
/
banana.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes vim mode line.
[banana.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
f43994d
..
ac99fff
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-5,29
+5,44
@@
PKG_DIST = banana-$(VERSION)
PKG_FILES = AUTHORS Changelog COPYING README Makefile TODO
PKG_FILES = AUTHORS Changelog COPYING README Makefile TODO
-PKG_DIRS = banana po css examples img
+PKG_DIRS = banana po css examples img
javascript
-VCS_FILTER = ! -name .
arch-ids ! -name .arch-inventory
+VCS_FILTER = ! -name .
svn
# global targets
# global targets
+all: build
+
+# build for development (prepare spool
+devel: spool spool/templates_c
+
+q:
+ @echo -e "Code statistics\n"
+ @sloccount $(filter-out spool/ po/ debian/, $(wildcard */)) 2> /dev/null | egrep '^[a-z]*:'
+
build: pkg-build
dist: clean pkg-dist
clean:
build: pkg-build
dist: clean pkg-dist
clean:
- rm -rf locale banana/
include/
banana.inc.php
+ rm -rf locale banana/banana.inc.php
make -C po clean
make -C po clean
+ make -C mbox-helper clean
%: %.in Makefile
%: %.in Makefile
+ -rm $@
sed -e 's,@VERSION@,$(VERSION) The Bearded Release,g' $< > $@
sed -e 's,@VERSION@,$(VERSION) The Bearded Release,g' $< > $@
+spool spool/templates_c:
+ mkdir -p $@
+ chmod o+w $@
# banana package targets
pkg-build: banana/banana.inc.php
make -C po
make -C po clean
# banana package targets
pkg-build: banana/banana.inc.php
make -C po
make -C po clean
+ make -C mbox-helper
pkg-dist: pkg-build
rm -rf $(PKG_DIST) $(PKG_DIST).tar.gz
pkg-dist: pkg-build
rm -rf $(PKG_DIST) $(PKG_DIST).tar.gz