# Once built, packages are in $RPM_TMP
#RPM_TMP=$(HOME)/rpmbuild
-RPM_TMP=$(shell cd ..; pwd)/tmp
-BUILDRESULT=$(HOME)/fusionforge_repo
+FORGE_HOME=$(shell cd ..; pwd)
+RPM_TMP=$(FORGE_HOME)/../tmp
+BUILDRESULT=$(FORGE_HOME)/../build/packages
HTMLPURIFYER_DIR=$(CURDIR)/php-htmlpurifier
-HTMLPURIFIER_VERSION=4.3.0
+HTMLPURIFIER_VERSION=4.4.0
HTMLPURIFIER_SPEC=$(HTMLPURIFYER_DIR)/php-htmlpurifier.spec
HTMLPURIFIER_TBZ=htmlpurifier-$(HTMLPURIFIER_VERSION).tar.gz
HTMLPURIFIER_RPM=noarch/php-htmlpurifier-$(HTMLPURIFIER_VERSION)-1.noarch.rpm
# _srcrpmdir %{_topdir}/SRPMS
# _topdir %{getenv:HOME}/rpmbuild
-RPMBUILD=rpmbuild --define='_topdir $(RPM_TMP)' --define='_tmppath %{_topdir}' --define='_sysconfdir /etc' --define='_rpmdir $(BUILDRESULT)'
+RPMBUILD=rpmbuild --quiet --define='_topdir $(RPM_TMP)' --define='_tmppath %{_topdir}' --define='_sysconfdir /etc' --define='_rpmdir $(BUILDRESULT)'
default: $(HTMLPURIFYER_DIR) $(JPGRAPH_DIR) $(WEBDAV_SERVER_DIR) dist getselenium