1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-13 03:12:06 +01:00
Smack/Makefile

34 lines
574 B
Makefile
Raw Normal View History

.PHONY: all clean javadoc test-unit eclipse
export JAVA_TOOL_OPTIONS:='-Dfile.encoding=iso-8859-1'
all: build-smack
# Can not use 'build' as target name, because there is a
# directory called build
build-smack:
cd build && ant
clean:
cd build && ant clean
unit-test:
cd build && ant test-unit
integration-test:
cd build && ant test
javadoc:
cd build && ant javadoc
eclipse: .settings .classpath .project
.settings:
ln -s build/eclipse/settings .settings
.classpath:
ln -s build/eclipse/classpath .classpath
.project:
ln -s build/eclipse/project .project