Files
artloglaby/4java.makefile
philippe lhardy bce0e160d8 don't build build.xml, maintain it manualy
remove antify.sh and related builx.xml target makefile

Signed-off-by: philippe lhardy <philippe.lhardy@astrolabe.coop>
2025-11-02 18:10:21 +01:00

56 lines
902 B
Makefile

PROJECT_VERSION=`./debianize.sh getversion`
DISTPREFIX=`./debianize.sh getproject`
DISTJAR=$(DISTPREFIX)-$(PROJECT_VERSION).jar
JAVAC=javac
JAR=jar
all: dist/lib/$(DISTJAR)
getname:
@echo dist/lib/$(DISTJAR)
getjavalibs:
@if [ -d libs ] ; then find libs/ -type f -o -type l -name "*.jar"; fi
dist:
mkdir -p dist
dist/lib/$(DISTJAR): dist
ant dist
clean:
cd java; make clean
rm -f dist/lib/$(DISTPREFIX)*.jar
rm -rf build
cleanall: clean
rm -rf debian
rm -rf deb
rm -rf download
debian:
mkdir debian
deb/%:
mkdir -p deb
touch $@
./debianize.sh create $@
debian/compat:
echo "10" >$@
debian/%:
./debianize.sh create $@ >$@
deb: debian debian/rules debian/control debian/compat debian/changelog deb/javadoc deb/jlibs
dpkg-buildpackage -uc -us
/usr/bin/emacs:
sudo apt-get install emacs
emacsdevenv:
.PHONY: clean all cleanall getname deb emacsdevenv work/% interface/%