aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorjestin2001-08-06 16:27:41 +0000
committerjestin2001-08-06 16:27:41 +0000
commit23db860cd231d505a660e41c13cc1b3008f3bcbc (patch)
treed8b8f99067ef8769bc9fa706ad7ebcc358c4eeac /debian/rules
parentb03254c14fc909da857073f401087e9a64ff5ceb (diff)
downloadivy-java-23db860cd231d505a660e41c13cc1b3008f3bcbc.zip
ivy-java-23db860cd231d505a660e41c13cc1b3008f3bcbc.tar.gz
ivy-java-23db860cd231d505a660e41c13cc1b3008f3bcbc.tar.bz2
ivy-java-23db860cd231d505a660e41c13cc1b3008f3bcbc.tar.xz
Missing the most important part
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules39
1 files changed, 39 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..25fb601
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,39 @@
+#!/usr/bin/make -f
+# Written by Yannick Jestin
+# From an example by Antti-Juhani Kaijanaho
+# You may treat this file as if it were in the public domain.
+
+librules_interface = 1
+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 JAVAC=jikes
+ touch $@
+
+debian/stamp/clean-build:
+ -$(MAKE) -C src clean
+
+javarep=$(rootdir)/usr/share/java/repository
+
+debian/stamp/binary/ivy-java : package=ivy-java
+debian/stamp/binary/ivy-java : debian/stamp/build
+ $(prebinary)
+ $(install_dir) $(javarep)
+ $(install_dir) $(exampledir)
+ $(install_dir) $(docbasedir)
+ cp -r src $(javarep)
+ cp -r doc/* $(docdir)
+ rm -f $(docdir)/changes.html
+ $(install_nonex) debian/README.Debian $(docdir)
+ $(install_nonex) README TODO $(docdir)
+ $(install_nonex) src/*.java $(exampledir)
+ $(install_nonex) debian/ivy-java $(docbasedir)
+ $(install_nonex) doc/changes.html $(docdir)/changelog.html
+ lynx -dump -nolist doc/changes.html > $(docdir)/changelog
+ $(gzip) $(docdir)/changelog $(docdir)/changelog.html
+ $(postbinary)
+ touch $@