DOXYGEN=doxygen
-VER=$(shell LANG=C grep '>software_version' src/common/include/FusionForge.class.php | cut -d\' -f2)
+VER=$(shell LC_ALL=C sed -n '/>software_version/s/^.*'\''\([0-9.]*\)'\''.*$$/\1/p' src/common/include/FusionForge.class.php)
in_svn_repo:= $(wildcard .svn/)
ifeq ($(strip $(in_svn_repo)),)
ID=unknown
@echo "=========================================================================="
@$(MAKE) -f Makefile.$(DIST)
-check:
+check: testdepends
## To run test in verbose mode :
#cd tests ; phpunit --verbose unit; phpunit --verbose code;
cd tests ; php AllTests.php | perl -p -e '$$e=1 if /FAILURE/ ; END { exit 1 if $$e }'
-checkfull:
+checkfull: testdepends
## To run test in verbose mode :
#cd tests ; phpunit --verbose unit; phpunit --verbose code; phpunit --verbose build
cd tests ; php AllFullTests.php
%: src/plugins/mediawiki/mediawiki-skin/FusionForge.php
$(MAKE) -f Makefile.$(DIST) $@
+
+wslink: /etc/apache2/mods-enabled/userdir.load
+ [ -d ~/public_html ] || mkdir ~/public_html
+ [ -L ~/public_html/ws ] || ln -s $(CURDIR) ~/public_html/ws
+
+/etc/apache2/mods-enabled/userdir.load:
+ sudo a2enmod userdir