diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/debian/rules b/debian/rules index cd86e0f..4a21b02 100755 --- a/debian/rules +++ b/debian/rules @@ -8,8 +8,6 @@ include debian/librules.mk debian/stamp/binary/arch : debian/stamp/binary/ivy-java -#export CLASSPATH=.:/usr/share/kaffe/Klasses.jar:/usr/share/java/repository - debian/stamp/build : $(MAKE) -C src touch $@ @@ -17,29 +15,35 @@ debian/stamp/build : debian/stamp/clean-build: -$(MAKE) -C src clean -javarep=$(rootdir)/usr/share/java/repository +javarep=$(rootdir)/usr/share/java mandir=$(rootdir)/usr/share/man/man1 debian/stamp/binary/ivy-java : package=ivy-java debian/stamp/binary/ivy-java : debian/stamp/build $(prebinary) + $(install_dir) $(bindir) $(install_dir) $(javarep) + $(install_dir) $(javarep)/repository $(install_dir) $(exampledir) + $(install_dir) $(testsdir) $(install_dir) $(docbasedir) $(install_dir) $(mandir) - cp -r src/fr $(javarep) - mkdirhier $(docdir)/doc/html/api - ( cd src; javadoc -d $(docdir)/doc/html/api *java ) + ( cd src; jar cvf $(javarep)/ivy.jar fr ) + cp -r src/fr $(javarep)/repository/ + cp tools/jprobe $(bindir)/jprobe cp -r Changelog $(docdir) gzip -9 $(docdir)/Changelog + make docs cp doc/ivy-java.1 $(mandir) - ( cd doc ; make ) + mkdirhier $(docdir)/doc/html/api + ( cd src; javadoc -d $(docdir)/doc/html/api *java ) cp -R doc/ivy-java $(docdir)/doc/programmersguide cp -R doc/ivy-java.pdf $(docdir)/programmersguide.pdf gzip -9 $(mandir)/ivy-java.1 $(install_nonex) debian/README.Debian $(docdir) $(install_nonex) BUGS README $(docdir) $(install_nonex) examples/*.java $(exampledir) + $(install_nonex) tests/*.java $(testsdir) $(install_nonex) debian/ivy-java $(docbasedir) $(install_nonex) debian/changelog $(docdir)/Changelog.debian $(gzip) $(docdir)/Changelog.debian |