Files
artloglaby/4java.makefile
philippe lhardy e78da6ec76 cleanup continued missing files
toolbox related makefiles
remove bootstrapbuild.sh since was for c code not in that project

Signed-off-by: philippe lhardy <philippe.lhardy@astrolabe.coop>
2025-11-02 08:46:16 +01:00

59 lines
940 B
Makefile

PROJECT_VERSION=`./debianize.sh getversion`
DISTPREFIX=`./debianize.sh getproject`
DISTJAR=$(DISTPREFIX)-$(PROJECT_VERSION).jar
JAVAC=javac
JAR=jar
all: build.xml 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
build.xml:
./antify.sh >$@
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 "7" >$@
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/%