Files
artloglaby/Makefile
philippe lhardy 0b33e56e0a clean out
add interface/InterfaceName target to create a template interface
move generate_newclass.sh to generate_new.sh and take class or interface as argument

Signed-off-by: philippe lhardy <philippe@pavilionartlogiciel>
2015-02-19 22:21:44 +01:00

47 lines
724 B
Makefile

PROJECT_VERSION=`./debianize.sh getversion`
DISTPREFIX=artloglaby
DISTJAR=$(DISTPREFIX)-$(PROJECT_VERSION).jar
all: build.xml dist/lib/$(DISTJAR)
getname:
@echo dist/lib/$(DISTJAR)
dist:
mkdir -p dist
dist/lib/$(DISTJAR): dist
ant dist
build.xml:
./antify.sh >$@
clean:
rm -f build.xml
rm -f dist/lib/$(DISTPREFIX)*.jar
rm -rf build
cd java; make clean
cleanall: clean
rm -rf debian
rm -rf deb
debian:
mkdir debian
deb/%:
mkdir -p deb
touch $@
./debianize.sh create $@
debian/compat:
echo "7" >$@
debian/%:
./debianize.sh create $@ >$@
deb: debian debian/rules debian/control debian/compat debian/changelog deb/javadoc deb/jlibs
dpkg-buildpackage -uc -us
.PHONY: clean all cleanall getname deb