X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=Makefile;h=408fd4e8665ad1f0d672425adbdc6e208a1dd3be;hb=ce6db91e5cad2cf7f32036d7a8770632bc054892;hp=1d5123bc80fecd9de1ce3683dcf51381d3fb7b27;hpb=2907d4014c8e6c437e0d9252b6a65dbaedf53212;p=platal.git diff --git a/Makefile b/Makefile index 1d5123b..408fd4e 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ ################################################################################ # 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) @@ -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' ` -build: spool/templates_c wiki +build: spool/templates_c wiki include/platal/globals.inc.php clean: rm -rf include/platal/globals.inc.php @@ -53,6 +53,9 @@ htdocs/valid.html: htdocs/uploads: cd htdocs && ln -sf ../spool/uploads +htdocs/img: + cd htdocs && ln -sf /usr/share/banana/img + htdocs/wiki: cd htdocs && ln -sf ../wiki/pub wiki @@ -71,8 +74,6 @@ get-wiki: fi 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