projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
migrate e-confiance things into auth.php
[platal.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
02e5c01
..
6910a15
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-2,7
+2,7
@@
################################################################################
# definitions
################################################################################
# definitions
-VERSION := $(shell grep VERSION ChangeLog | head -1 | sed -e "s/VERSION //;s/\t.*//")
+VERSION := $(shell grep VERSION ChangeLog | head -1 | sed -e "s/VERSION //;s/\t.*//
;s/ .*//
")
PKG_NAME = platal
PKG_DIST = $(PKG_NAME)-$(VERSION)
PKG_NAME = platal
PKG_DIST = $(PKG_NAME)-$(VERSION)
@@
-22,7
+22,7
@@
headers:
headache -c install.d/platal-dev/templates/header.conf -h install.d/platal-dev/templates/header \
`find templates -name '*.tpl' ! -path 'templates/xnet/skin.tpl' ! -path 'templates/skin/*.tpl' ! -name 'vcard.tpl' `
headache -c install.d/platal-dev/templates/header.conf -h install.d/platal-dev/templates/header \
`find templates -name '*.tpl' ! -path 'templates/xnet/skin.tpl' ! -path 'templates/skin/*.tpl' ! -name 'vcard.tpl' `
-build: spool/templates_c wiki
+build: spool/templates_c wiki
include/platal/globals.inc.php banana
clean:
rm -rf include/platal/globals.inc.php
clean:
rm -rf include/platal/globals.inc.php
@@
-65,19
+65,23
@@
wiki/pub/skins/empty:
get-wiki:
@if ! test -d wiki; then \
wget http://www.pmwiki.org/pub/pmwiki/pmwiki-latest.tgz; \
get-wiki:
@if ! test -d wiki; then \
wget http://www.pmwiki.org/pub/pmwiki/pmwiki-latest.tgz; \
- echo "¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯"; \
- echo "now please untar pmwiki into wiki/ and run make again"; \
- echo "_____________________________________________________"; \
- exit 1; \
+ tar -xzvf pmwiki-latest.tgz; \
+ rm pmwiki-latest.tgz; \
+ mv pmwiki-* wiki; \
fi
fi
+banana: htdocs/images/banana htdocs/css/banana.css
+htdocs/images/banana:
+ cd $(@D) && ln -sf /usr/share/banana/img $(@F)
+
+htdocs/css/banana.css:
+ cd $(@D) && ln -sf /usr/share/banana/css/style.css $(@F)
+
build-wiki: wiki/local/farmconfig.php wiki/pub/skins/empty spool/wiki.d
build-wiki: wiki/local/farmconfig.php wiki/pub/skins/empty spool/wiki.d
- @sed -e 's/^exit;/\/\/exit;/g' wiki/pmwiki.php > wiki/pmwiki.php.new
- @mv wiki/pmwiki.php.new wiki/pmwiki.php
wiki: get-wiki build-wiki spool/uploads htdocs/uploads htdocs/wiki wiki/cookbook/e-protect.php
################################################################################
wiki: get-wiki build-wiki spool/uploads htdocs/uploads htdocs/wiki wiki/cookbook/e-protect.php
################################################################################
-.PHONY: build dist clean wiki build-wiki
+.PHONY: build dist clean wiki build-wiki
banana